-
-
Notifications
You must be signed in to change notification settings - Fork 965
Expand file tree
/
Copy pathNumericUpDownPage.xaml
More file actions
67 lines (64 loc) · 2.74 KB
/
NumericUpDownPage.xaml
File metadata and controls
67 lines (64 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Page
x:Class="Wpf.Ui.Gallery.Views.Pages.BasicInput.NumericUpDownPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:Wpf.Ui.Gallery.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Wpf.Ui.Gallery.Views.Pages.BasicInput"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Title="RatingPage"
controls:PageControlDocumentation.DocumentationType="{x:Type ui:NumericUpDown}"
d:DataContext="{d:DesignInstance local:NumericUpDownPage,
IsDesignTimeCreatable=False}"
d:DesignHeight="450"
d:DesignWidth="800"
ui:Design.Background="{DynamicResource ApplicationBackgroundBrush}"
ui:Design.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Foreground="{DynamicResource TextFillColorPrimaryBrush}"
mc:Ignorable="d">
<StackPanel Margin="0,0,0,24">
<controls:ControlExample Margin="0" HeaderText="WPF UI NumericUpDown">
<controls:ControlExample.XamlCode>
<ui:NumericUpDown
BorderThickness="1"
ButtonAlignment="Vertical"
ButtonWidth="22"
CornerRadius="4"
Decimals="0"
Format="N0"
IsEnabled="True"
IsReadOnly="False"
MaxValue="1000000"
MinValue="0"
Step="1"
Wrap="True"
Value="999999" />
</controls:ControlExample.XamlCode>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<ui:NumericUpDown
Width="150"
Padding="4"
HorizontalAlignment="Left"
BorderThickness="1"
ButtonAlignment="Vertical"
ButtonWidth="22"
CornerRadius="4"
Decimals="0"
Format="N0"
IsEnabled="True"
IsReadOnly="False"
MaxValue="1000000"
MinValue="0"
Step="1"
Wrap="True"
Value="999999" />
</Grid>
</controls:ControlExample>
</StackPanel>
</Page>