Intersoft.Client.UI.Aqua.UXInput Namespace : UXNumericUpDown Class |
Public Class UXNumericUpDown Inherits Intersoft.Client.UI.Aqua.UXInput.UXUpDownBase(Of Nullable(Of Decimal)) Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
Dim instance As UXNumericUpDown
public class UXNumericUpDown : Intersoft.Client.UI.Aqua.UXInput.UXUpDownBase<Nullable<decimal>>, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
public ref class UXNumericUpDown : public Intersoft.Client.UI.Aqua.UXInput.UXUpDownBase<Nullable<decimal>>, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
UXNumericUpDown is a control that combines the UXCurrencyEditor control with UXButtonSpinner control to display numeric values. Since this control is a combination of several controls, these controls have similar characteristics as the control is used. To learn how to used UXCurrencyEditor, see UXCurrencyEditor Overview.
By default, the increment for this control is set to 1, you can change this value by setting the Increment property. You can also set the Maximum and Minimum property if you want a specific value that user can input or spin through the control. To disable users to input text into the control, you set the IsEditable property to false.
The following code shows how to create a simple UXNumericUpDown control with Minimum, Maximum and Increment property been set.
XAML |
Copy Code
|
---|---|
<Grid> <Intersoft:UXNumericUpDown Width="100" Minimum="1" Maximum="100" Increment="5" /> </Grid> |
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Intersoft.Client.Framework.ISControl
Intersoft.Client.UI.Aqua.UXInput.UXUpDownBase
Intersoft.Client.UI.Aqua.UXInput.UXUpDownBase<T>
Intersoft.Client.UI.Aqua.UXInput.UXNumericUpDown
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2