csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
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.
52 lines
2.1 KiB
52 lines
2.1 KiB
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:controls="clr-namespace:Controls"
|
|
x:Class="Sample.App.SignUpView">
|
|
<StackPanel>
|
|
<controls:CustomTextBox Margin="0 10 0 0"
|
|
Name="UserNameTextBox"
|
|
Watermark="Please, enter user name..."
|
|
UseFloatingWatermark="True" />
|
|
<TextBlock Name="UserNameValidation"
|
|
Foreground="Red"
|
|
FontSize="12" />
|
|
<TextBox Margin="0 10 0 0"
|
|
Name="PasswordTextBox"
|
|
Watermark="Please, enter your password..."
|
|
UseFloatingWatermark="True"
|
|
PasswordChar="*" />
|
|
<TextBlock Name="PasswordValidation"
|
|
Foreground="Red"
|
|
FontSize="12" />
|
|
<ListBox x:Name="AwesomeListView">
|
|
<ListBox.ItemTemplate>
|
|
<DataTemplate>
|
|
<TextBlock x:Name="MeaningLessName" Text="{Binding}" />
|
|
</DataTemplate>
|
|
</ListBox.ItemTemplate>
|
|
</ListBox>
|
|
<TextBox Margin="0 10 0 0"
|
|
x:Name="ConfirmPasswordTextBox"
|
|
Watermark="Please, confirm the password..."
|
|
UseFloatingWatermark="True"
|
|
PasswordChar="*" />
|
|
<TextBlock x:Name="ConfirmPasswordValidation"
|
|
TextWrapping="Wrap"
|
|
Foreground="Red"
|
|
FontSize="12" />
|
|
<TextBlock>
|
|
<TextBlock.Inlines>
|
|
<InlineCollection>
|
|
<Run x:Name="SignUpButtonDescription" />
|
|
</InlineCollection>
|
|
</TextBlock.Inlines>
|
|
</TextBlock>
|
|
<Button Margin="0 10 0 5"
|
|
Content="Sign up"
|
|
x:Name="SignUpButton" />
|
|
<TextBlock x:Name="CompoundValidation"
|
|
TextWrapping="Wrap"
|
|
Foreground="Red"
|
|
FontSize="12" />
|
|
</StackPanel>
|
|
</Window>
|