|  | 
| 223 | 223 |                                         TextAlignment="Left" | 
| 224 | 224 |                                         Minimum="0" | 
| 225 | 225 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 226 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}"                                                                                 | 
|  | 226 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}"                                                                                 | 
| 227 | 227 |                                         Maximum="10" /> | 
| 228 | 228 | 
 | 
| 229 | 229 |                 <Label Content='Interval="2"' /> | 
| 230 | 230 | 
 | 
| 231 |  | -                <CheckBox x:Name="IntegerOnlyCheckBox" | 
| 232 |  | -                          Content="IsIntegerOnly" | 
|  | 231 | +                <CheckBox x:Name="HasDecimalsCheckBox" | 
|  | 232 | +                          Content="HasDecimals" | 
|  | 233 | +                          IsChecked="True" | 
| 233 | 234 |                           Margin="0,7" /> | 
| 234 | 235 | 
 | 
| 235 | 236 |                 <Controls:NumericUpDown Value="5" | 
| 236 | 237 |                                         ButtonsAlignment="Left"  | 
| 237 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}" | 
|  | 238 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}" | 
| 238 | 239 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 239 | 240 |                                         Interval="2" /> | 
| 240 | 241 | 
 | 
| 241 | 242 |                 <Label Content='Interval="5"' /> | 
| 242 | 243 |                 <Controls:NumericUpDown Value="5" | 
| 243 | 244 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 244 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}"                                         | 
|  | 245 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}"                                         | 
| 245 | 246 |                                         Controls:TextBoxHelper.ClearTextButton="True" | 
| 246 | 247 |                                         ButtonsAlignment="Left" | 
| 247 | 248 |                                         Interval="5" /> | 
| 248 | 249 | 
 | 
| 249 | 250 |                 <Controls:NumericUpDown Margin="{StaticResource ControlMargin}" | 
| 250 | 251 |                                         Controls:TextBoxHelper.Watermark="No Speedup when long pressed" | 
| 251 | 252 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 252 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}"                                         | 
|  | 253 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}"                                         | 
| 253 | 254 |                                         Speedup="false" /> | 
| 254 | 255 |                 <Controls:NumericUpDown Margin="{StaticResource ControlMargin}" | 
| 255 | 256 |                                         Controls:TextBoxHelper.Watermark="Speedup when long pressed after 500ms" | 
| 256 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}" | 
|  | 257 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}" | 
| 257 | 258 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 258 | 259 |                                         Delay="500" | 
| 259 | 260 |                                         Speedup="true" /> | 
|  | 
| 264 | 265 |                 <Controls:NumericUpDown Value="5" | 
| 265 | 266 |                                         x:Name="test" | 
| 266 | 267 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 267 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}" | 
|  | 268 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}" | 
| 268 | 269 |                                         StringFormat="pcs. {0:N2} pcs." | 
| 269 | 270 |                                         Maximum="100" /> | 
| 270 | 271 |                 <Grid Margin="{StaticResource ControlMargin}"> | 
|  | 
| 298 | 299 |                 <Controls:NumericUpDown x:Name="StringFormatNumUpDown" | 
| 299 | 300 |                                         Margin="{StaticResource ControlMargin}" | 
| 300 | 301 |                                         Value="{Binding ElementName=test, Path=Value, Mode=TwoWay}" | 
| 301 |  | -                                        IsIntegerOnly="{Binding ElementName=IntegerOnlyCheckBox, Path=IsChecked, Mode=TwoWay}" | 
|  | 302 | +                                        HasDecimals="{Binding ElementName=HasDecimalsCheckBox, Path=IsChecked, Mode=TwoWay}" | 
| 302 | 303 |                                         IsReadOnly="{Binding ElementName=ReadOnlyCheck, Path=IsChecked, Mode=TwoWay}" | 
| 303 | 304 |                                         Interval=".1" | 
| 304 | 305 |                                         StringFormat="0,000.00" /> | 
|  | 
0 commit comments