Class NumberBoxDecimal
Represents a control that can be used to display and edit floating point decimal numbers.
Inheritance
NumberBoxDecimal
Implements
IWinRTObject
Inherited Members
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public sealed class NumberBoxDecimal : NumberBox<decimal>, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Control>
Remarks
This control supports validation, increment stepping, and computing inline calculations of basic equations such as multiplication, division, addition, and subtraction.
caution
Note: It is recommended to NOT set AcceptsExpression to true
when working with Decimals, since the calculations will be performed with double
accuracy only.
tip
Note: To be able to assign decimal values to the NumberBoxDecimal control, it can't be done in XAML (although x:Bind works). Support for decimal values is a limitation in the Windows App SDK and is currently planned to be addressed in v1.8.
Constructors
Name | Description |
---|---|
NumberBoxDecimal() | Initializes a new instance of the NumberBoxDecimal class. |