feat: add avalonia extend NumericUpDown style.
This commit is contained in:
1 parent
d192cdbf8f
commit
e888897bf4
4 files changed
+361
-2
No files matched your search
@@ -11,12 +11,149 @@
|
||||
<hc:UniformSpacingPanel Spacing="16"
|
||||
Orientation="Vertical">
|
||||
<NumericUpDown Value="0"
|
||||
Width="380"
|
||||
Maximum="100" />
|
||||
<NumericUpDown Value="0"
|
||||
IsEnabled="False" />
|
||||
<NumericUpDown Value="0"
|
||||
IsReadOnly="True" />
|
||||
|
||||
<NumericUpDown Value="0"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown Value="0"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
hc:InfoElement.Necessary="True"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown Value="0"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown FormatString="N2"
|
||||
Maximum="100000"
|
||||
Value="10000"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend}"
|
||||
hc:InfoElement.Necessary="True" />
|
||||
</hc:UniformSpacingPanel>
|
||||
<hc:UniformSpacingPanel Spacing="16"
|
||||
Orientation="Vertical">
|
||||
<NumericUpDown hc:InfoElement.ShowClearButton="True"
|
||||
Theme="{StaticResource NumericUpDownExtend}"
|
||||
Value="{Binding DoubleValue1}" />
|
||||
<NumericUpDown Value="0"
|
||||
IsEnabled="False"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown Value="0"
|
||||
IsReadOnly="True"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
|
||||
<NumericUpDown Value="0"
|
||||
hc:InfoElement.ShowClearButton="True"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown Value="0"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
hc:InfoElement.Necessary="True"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown Value="0"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend}" />
|
||||
<NumericUpDown Value="0"
|
||||
FormatString="N2"
|
||||
hc:InfoElement.ShowClearButton="True"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend}"
|
||||
hc:InfoElement.Necessary="True" />
|
||||
</hc:UniformSpacingPanel>
|
||||
<hc:UniformSpacingPanel Spacing="16"
|
||||
Orientation="Vertical">
|
||||
<NumericUpDown Value="0"
|
||||
Maximum="100"
|
||||
Theme="{StaticResource NumericUpDown.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
IsEnabled="False"
|
||||
Theme="{StaticResource NumericUpDown.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
IsReadOnly="True"
|
||||
Theme="{StaticResource NumericUpDown.Small}" />
|
||||
|
||||
<NumericUpDown Value="0"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
hc:InfoElement.Necessary="True"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown FormatString="N2"
|
||||
Maximum="100000"
|
||||
Value="10000"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}"
|
||||
hc:InfoElement.Necessary="True" />
|
||||
</hc:UniformSpacingPanel>
|
||||
<hc:UniformSpacingPanel Spacing="16"
|
||||
Orientation="Vertical">
|
||||
<NumericUpDown hc:InfoElement.ShowClearButton="True"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}"
|
||||
Value="{Binding DoubleValue1}" />
|
||||
<NumericUpDown Value="0"
|
||||
IsEnabled="False"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
IsReadOnly="True"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
|
||||
<NumericUpDown Value="0"
|
||||
hc:InfoElement.ShowClearButton="True"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.Title="This is the title"
|
||||
hc:InfoElement.Necessary="True"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}" />
|
||||
<NumericUpDown Value="0"
|
||||
FormatString="N2"
|
||||
hc:InfoElement.ShowClearButton="True"
|
||||
Width="380"
|
||||
hc:TitleElement.TitleWidth="140"
|
||||
Watermark="Please enter content"
|
||||
hc:TitleElement.TitlePlacement="Left"
|
||||
hc:TitleElement.Title="The title is on the left"
|
||||
Theme="{StaticResource NumericUpDownExtend.Small}"
|
||||
hc:InfoElement.Necessary="True" />
|
||||
</hc:UniformSpacingPanel>
|
||||
</hc:UniformSpacingPanel>
|
||||
</ScrollViewer>
|
||||
|
||||
Reference in new issue
Block a user