TimeControl.axaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <UserControl
  2. x:Class="ShakerApp.Views.TimeControl"
  3. xmlns="https://github.com/avaloniaui"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. d:DesignHeight="450"
  8. d:DesignWidth="800"
  9. mc:Ignorable="d">
  10. <UniformGrid Rows="1">
  11. <StackPanel Orientation="Horizontal">
  12. <NumericUpDown
  13. Width="80"
  14. Name="HourControl"
  15. Increment="1"
  16. Minimum="0" />
  17. <TextBlock VerticalAlignment="Center" Text=":" />
  18. </StackPanel>
  19. <StackPanel Orientation="Horizontal">
  20. <NumericUpDown
  21. Width="80"
  22. Name="MinuteControl"
  23. Increment="1"
  24. Maximum="59"
  25. Minimum="0"/>
  26. <TextBlock VerticalAlignment="Center" Text=":" />
  27. </StackPanel>
  28. <NumericUpDown
  29. Width="100"
  30. Name="SecondControl"
  31. Maximum="59"
  32. Minimum="0" />
  33. </UniformGrid>
  34. </UserControl>