A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
662 B

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Sample.App.xNamedControls">
<StackPanel>
<TextBox x:Name="UserNameTextBox"
Placeholder="Username input"
UseFloatingPlaceholder="True" />
<TextBox x:Name="PasswordTextBox"
Placeholder="Password input"
UseFloatingPlaceholder="True" />
<!-- Name generator should still generate members, even if XAML is invalid -->
<Button x:Name="SignUpButton"
Content="{x:Static NonExistent.Member}" />
</StackPanel>
</Window>