2023-01-23 14:57:40 +08:00
|
|
|
<UserControl
|
|
|
|
x:Class="Semi.Avalonia.Demo.Pages.NumericUpDownDemo"
|
|
|
|
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"
|
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
2023-02-09 22:21:36 +08:00
|
|
|
<StackPanel HorizontalAlignment="Left" Spacing="20">
|
2024-03-11 19:52:11 +08:00
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<NumericUpDown Classes="Large" Width="150" ButtonSpinnerLocation="Left"/>
|
|
|
|
<NumericUpDown Width="150" ShowButtonSpinner="False" />
|
|
|
|
<NumericUpDown Classes="Small" Width="150" />
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<NumericUpDown Width="150" ButtonSpinnerLocation="Left" />
|
|
|
|
<NumericUpDown Width="150" ShowButtonSpinner="False" />
|
|
|
|
<NumericUpDown Width="150" />
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
<NumericUpDown Width="150" ShowButtonSpinner="False" />
|
|
|
|
<NumericUpDown IsEnabled="False" Width="150" />
|
|
|
|
<NumericUpDown Width="150" ButtonSpinnerLocation="Left" />
|
|
|
|
</StackPanel>
|
|
|
|
|
2023-01-23 14:57:40 +08:00
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0" />
|
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
Increment="10"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0" />
|
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
ButtonSpinnerLocation="Left"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0" />
|
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0"
|
|
|
|
ShowButtonSpinner="False" />
|
2023-03-27 23:03:27 +08:00
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
Classes="Large"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0" />
|
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
Classes="Small"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0" />
|
2024-02-23 17:56:27 +08:00
|
|
|
<NumericUpDown
|
|
|
|
Width="200"
|
|
|
|
InnerLeftContent="Price"
|
|
|
|
InnerRightContent="$"
|
|
|
|
Maximum="100"
|
|
|
|
Minimum="0" />
|
2023-01-23 14:57:40 +08:00
|
|
|
</StackPanel>
|
2024-03-11 19:52:11 +08:00
|
|
|
</UserControl>
|