简体   繁体   English

WinRT XAML工具包-数字向上向下-设置更改大小

[英]WinRT XAML Toolkit - Numeric Up Down - Set size of change

I want to set size of change after use one from two buttons connected with NumericUpDown control. 我想使用与NumericUpDown控件连接的两个按钮中的一个来设置更改大小。

I have something like this: 我有这样的事情:

<toolkit:NumericUpDown Grid.Column="1" Minimum="2"  ValueFormat="F0" Value="4" LargeChange="1" Maximum="10"/>

In WPF's NumericUpDown is property " increment ", but I this I can't find. 在WPF的NumericUpDown中是属性“ 增量 ”,但是我找不到。 I think that it can be LargeChange , but it not working for me. 我认为可以是LargeChange ,但对我不起作用。 I want to set increment = 1. 我想将增量设置为1。

In example increment is 0,1 在示例中,增量为0,1

Thanks 谢谢

将SmallChange设置为1。每次增加值时,结果将更改为1。

<toolkit:NumericUpDown ValueFormat="F0" Value="4" SmallChange="1" Maximum="10" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM