A CatML is an alternative Xaml controls toolkit for Avalonia.
Install NuGet package https://www.nuget.org/packages/CatML/
- alley : Application
- box : Window
- carpet : Canvas
- catnip : ComboBox
- laser : Slider
- litter : Label
- option : ComboBoxItem
- paw : AvaloniaObject
- post : TextBox
- toy : Button
<box xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="CatML.Demo.mainBox"
width="800" height="600"
mark="CatML">
<carpet width="800" height="600">
<litter name="Login Form" x="350" y="50" />
<litter name="Username" x="50" y="100" />
<post name="Username" x="200" y="100" />
<litter name="Password" x="50" y="200" />
<post name="Password" x="200" y="200" />
<litter name="User Type" x="50" y="300" />
<catnip name="UserType" x="200" y="300">
<option>Admin</option>
<option>User</option>
</catnip>
<litter name="Volume" x="50" y="400" />
<laser name="Volume" min="0" max="100" x="200" y="400" />
<toy name="Login" x="350" y="500">
<paw>
<!-- login action goes here -->
</paw>
</toy>
</carpet>
</box>
namespace CatML.Demo;
public partial class mainBox : box
{
public mainBox()
{
InitializeComponent();
}
}
CatML is licensed under the MIT license.