1
0

SignUpView.xaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:controls="using:Generators.Sandbox.Controls"
  4. x:Class="Generators.Sandbox.Controls.SignUpView">
  5. <StackPanel>
  6. <controls:CustomTextBox Margin="0 10 0 0"
  7. x:Name="UserNameTextBox"
  8. Watermark="Please, enter user name..."
  9. UseFloatingWatermark="True" />
  10. <TextBlock x:Name="UserNameValidation"
  11. Foreground="Green"
  12. FontSize="12" />
  13. <TextBox Margin="0 10 0 0"
  14. x:Name="PasswordTextBox"
  15. Watermark="Please, enter your password..."
  16. UseFloatingWatermark="True"
  17. PasswordChar="*" />
  18. <TextBlock x:Name="PasswordValidation"
  19. Foreground="Red"
  20. FontSize="12" />
  21. <TextBox Margin="0 10 0 0"
  22. x:Name="ConfirmPasswordTextBox"
  23. Watermark="Please, confirm the password..."
  24. UseFloatingWatermark="True"
  25. PasswordChar="*" />
  26. <TextBlock x:Name="ConfirmPasswordValidation"
  27. TextWrapping="Wrap"
  28. Foreground="Red"
  29. FontSize="12" />
  30. <TextBlock>
  31. <TextBlock.Inlines>
  32. <InlineCollection>
  33. <Run x:Name="SignUpButtonDescription" />
  34. </InlineCollection>
  35. </TextBlock.Inlines>
  36. </TextBlock>
  37. <Button Margin="0 10 0 5"
  38. Content="Sign up"
  39. x:Name="SignUpButton" />
  40. <TextBlock x:Name="CompoundValidation"
  41. TextWrapping="Wrap"
  42. Foreground="Red"
  43. FontSize="12" />
  44. </StackPanel>
  45. </UserControl>