Class UpDown
Inheritance
Implements
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2007BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/MetroStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/TransparentStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2007SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2010BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2007BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2010BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2010SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2003, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2003Style.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/BlendStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.SyncOrange, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/SyncOrangeStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/ShinyRedStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/ShinyBlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(UpDown), XamlResource = "/Syncfusion.Shared.Wpf;component/Controls/UpDown/Themes/Generic.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/VS2010Style.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2013, Type = typeof(UpDown), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/UpDown/Themes/Office2013Style.xaml")]
public class UpDown : Control, IDisposable
Constructors
UpDown()
Initializes a new instance of the UpDown class.
Declaration
public UpDown()
Fields
AllowEditProperty
Using a DependencyProperty as the backing store for AllowEdit. This enables tyling, binding, etc...
Declaration
public static readonly DependencyProperty AllowEditProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AnimationSpeedProperty
Using a DependencyProperty as the backing store for AnimationSpeed. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AnimationSpeedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ApplyZeroColorProperty
Using a DependencyProperty as the backing store for ApplyZeroColor. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty ApplyZeroColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CornerRadiusProperty
Using a DependencyProperty as the backing store for CornerRadius. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CultureProperty
Using a DependencyProperty as the backing store for Culture. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CultureProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CursorBackgroundProperty
Using a DependencyProperty as the backing store for CursorBackground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CursorBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CursorBorderBrushProperty
Using a DependencyProperty as the backing store for CursorBorderBrush. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CursorBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CursorBorderThicknessProperty
Using a DependencyProperty as the backing store for CursorBorderThickness. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CursorBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CursorTemplateProperty
Using a DependencyProperty as the backing store for CursorTemplate. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CursorTemplateProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CursorVisibleProperty
Using a DependencyProperty as the backing store for CursorVisible. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CursorVisibleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CursorWidthProperty
Using a DependencyProperty as the backing store for CursorWidth. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty CursorWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableExtendedScrollingProperty
Using a DependencyProperty as the backing store for EnableExtendedScrolling. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableExtendedScrollingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableFocusedColorsProperty
Using a DependencyProperty as the backing store for EnableFocusedColors. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableFocusedColorsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableNegativeColorsProperty
Using a DependencyProperty as the backing store for EnableNegativeColors. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableNegativeColorsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableRangeAdornerProperty
Using a DependencyProperty as the backing store for EnableRangeAdorner. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableRangeAdornerProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
EnableTouchProperty
Using a DependencyProperty as the backing store for EnableTouch. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableTouchProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FocusedBackgroundProperty
Using a DependencyProperty as the backing store for FocusedBackground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty FocusedBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FocusedBorderBrushProperty
Using a DependencyProperty as the backing store for FocusedBorderBrush. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty FocusedBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FocusedForegroundProperty
Using a DependencyProperty as the backing store for FocusedForeground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty FocusedForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
GroupSeperatorEnabledProperty
Using a DependencyProperty as the backing store for GroupSeperatorEnabled. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty GroupSeperatorEnabledProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsFocusedProperty
Using a DependencyProperty as the backing store for IsFocused. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty IsFocusedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsReadOnlyProperty
Using a DependencyProperty as the backing store for IsReadOnly. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsScrollingOnCircleProperty
Using a DependencyProperty as the backing store for IsScrollingOnCircle. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty IsScrollingOnCircleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsUpdownFocusedProperty
Using a DependencyProperty as the backing store for IsUpdownFocused. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty IsUpdownFocusedProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsValueNegativeProperty
Using a DependencyProperty as the backing store for IsValueNegative. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty IsValueNegativeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
m_downValue
Command that invoked when down button clikced.
Declaration
public static RoutedCommand m_downValue
Field Value
Type |
---|
System.Windows.Input.RoutedCommand |
m_upValue
Command that invoked when up button clicked.
Declaration
public static RoutedCommand m_upValue
Field Value
Type |
---|
System.Windows.Input.RoutedCommand |
MaxValidationProperty
Using a DependencyProperty as the backing store for MaxValidation. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty MaxValidationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaxValueOnExceedMaxDigitProperty
Using a DependencyProperty as the backing store for MaxValueOnExceedMaxDigit. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty MaxValueOnExceedMaxDigitProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MaxValueProperty
Using a DependencyProperty as the backing store for MaxValue. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty MaxValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinValidationProperty
Using a DependencyProperty as the backing store for MinValidation. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty MinValidationProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinValueOnExceedMinDigitProperty
Using a DependencyProperty as the backing store for MinValueOnExceedMinDigit. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty MinValueOnExceedMinDigitProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
MinValueProperty
Using a DependencyProperty as the backing store for MinValue. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty MinValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NegativeBackgroundProperty
Using a DependencyProperty as the backing store for NegativeBackground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NegativeBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NegativeBorderBrushProperty
Using a DependencyProperty as the backing store for NegativeBorderBrush. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NegativeBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NegativeForegroundProperty
Using a DependencyProperty as the backing store for NegativeForeground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NegativeForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NullValueProperty
Using a DependencyProperty as the backing store for NullValue. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NullValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NullValueTextProperty
Using a DependencyProperty as the backing store for NullValueText. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NullValueTextProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NumberDecimalDigitsProperty
Using a DependencyProperty as the backing store for NumberDecimalDigits. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NumberDecimalDigitsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
NumberFormatInfoProperty
Using a DependencyProperty as the backing store for NumberFormatInfo. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty NumberFormatInfoProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangeAdornerBackgroundProperty
Using a DependencyProperty as the backing store for RangeAdornerBackground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty RangeAdornerBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
SelectionBrushProperty
Using a DependencyProperty as the backing store for SelectionBrush. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty SelectionBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StepProperty
Using a DependencyProperty as the backing store for Step. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty StepProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextAlignmentProperty
Using a DependencyProperty as the backing store for TextAlignment. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty TextAlignmentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UpDownBackgroundProperty
Using a DependencyProperty as the backing store for UpDownBackground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty UpDownBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UpDownBorderBrushProperty
Using a DependencyProperty as the backing store for UpDownBorderBrush. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty UpDownBorderBrushProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UpDownForegroundProperty
Using a DependencyProperty as the backing store for UpDownForeground. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty UpDownForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
UseNullOptionProperty
Using a DependencyProperty as the backing store for UseNullOption. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty UseNullOptionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ValueProperty
Using a DependencyProperty as the backing store for Value. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ZeroColorProperty
Using a DependencyProperty as the backing store for ZeroColor. This enables styling, binding, etc...
Declaration
public static readonly DependencyProperty ZeroColorProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AllowEdit
Gets or sets a value indicating whether allow to edit is enabled in UpDown control.
Declaration
public bool AllowEdit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
AnimationSpeed
Gets or sets the animation speed of value change. This is a dependency property.
Declaration
public double AnimationSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 0.1. |
See Also
ApplyZeroColor
Gets or sets a value indicating whether the Zero color is enabled in the UpDown Control.
Declaration
public bool ApplyZeroColor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
CornerRadius
Gets or sets the Corner radius.
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.CornerRadius | The Corner radius. The default value is null. |
Culture
Gets or sets name of the culture
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo | The information includes the names for the culture, the writing system, the calendar used, and formatting for dates and sort strings. |
CursorBackground
Gets or sets the cursor background.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public Brush CursorBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The cursor background. |
CursorBorderBrush
Gets or sets the cursor border brush.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public Brush CursorBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The cursor border brush. |
CursorBorderThickness
Gets or sets the cursor border thickness.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public Thickness CursorBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | The cursor border thickness. |
CursorTemplate
Gets or sets the cursor template. This is a dependency property.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public ControlTemplate CursorTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.ControlTemplate | Type: System.Windows.Controls.ControlTemplate Default value is null. |
See Also
CursorVisible
Checks for cursor visibility.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public bool CursorVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The cursor visibility. |
CursorWidth
Gets or sets the width of the cursor.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public double CursorWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of the cursor. |
EnableExtendedScrolling
Gets or sets a value indicating whether this ExtendedScrolling is enabled in the UpDown Control.
Declaration
public bool EnableExtendedScrolling { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableFocusedColors
Gets or sets a value indicating whether the FocusedColors enabled in the UpDown Control.
Declaration
public bool EnableFocusedColors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableNegativeColors
Gets or sets a value indicating whether the NegativeColors enabled in the UpDown Control.
Declaration
public bool EnableNegativeColors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableRangeAdorner
Gets or sets a value indicating whether this RangeAdorner is enabled in the UpDown Control.
Declaration
public bool EnableRangeAdorner { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
EnableTouch
Gets or sets a value indicating whether this Touch is enabled in the UpDown Control.
Declaration
public bool EnableTouch { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
FocusedBackground
Gets or sets the background when control is focused. This is a dependency property.
Declaration
public Brush FocusedBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Default value is Brushes.White. |
See Also
FocusedBorderBrush
Gets or sets the borderBrush when control is focused. This is a dependency property.
Declaration
public Brush FocusedBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Default value is Brushes.Black. |
See Also
FocusedForeground
Gets or sets the foreground brush when control is focused. This is a dependency property.
Declaration
public Brush FocusedForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Default value is Brushes.Black. |
See Also
GroupSeperatorEnabled
Gets or sets a value indicating whether this GroupSeperator is enabled in the UpDown Control.
Declaration
public bool GroupSeperatorEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsFocused
Gets or sets a value indicating whether the UpDown Control is focused or not.
Declaration
public bool IsFocused { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsKeyboardFocused
Represents the Boolean value when keyboard is focused or not.
Declaration
public bool IsKeyboardFocused { get; }
Property Value
Type |
---|
System.Boolean |
IsReadOnly
Represents the Boolean value of IsReadOnly.if the property value is true when the field is Readonly.
Declaration
public bool IsReadOnly { get; set; }
Property Value
Type |
---|
System.Boolean |
IsScrollingOnCircle
Gets or sets a value indicating whether the ScrollingOnCircle is enabled in the UpDown Control.
Declaration
public bool IsScrollingOnCircle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsUpdownFocused
Gets or sets a value indicating whether the Updown is Focused or not in the UpDown Control.
Declaration
public bool IsUpdownFocused { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsValueNegative
Gets or sets a value indicating whether the value is Negative or not in the UpDown Control.
Declaration
public bool IsValueNegative { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MaxValidation
Gets or sets a value indicating whether MaxValidation.
Declaration
public MaxValidation MaxValidation { get; set; }
Property Value
Type | Description |
---|---|
MaxValidation | Specifies MaxValue validation constraint for Numeric Editors controls.The Default value is MinValidation.OnKeyPress. |
MaxValue
Gets or sets the maximum value for the control. This is a dependency property.
Declaration
public double MaxValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is double.MaxValue. |
See Also
MaxValueOnExceedMaxDigit
Gets or sets a value indicating whether MaxValueOnExceedMinDigit UpDown control.
Declaration
public bool MaxValueOnExceedMaxDigit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MinValidation
Gets or sets a value indicating whether MinValidation.
Declaration
public MinValidation MinValidation { get; set; }
Property Value
Type | Description |
---|---|
MinValidation | Specifies MinValue validation constraint for Numeric Editors controls.The Default value is MinValidation.OnKeyPress. |
MinValue
Gets or sets the minimum value for the control. This is a dependency property.
Declaration
public double MinValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is double.MinValue. |
See Also
MinValueOnExceedMinDigit
Gets or sets a value indicating whether MinValueOnExceedMinDigit UpDown control.
Declaration
public bool MinValueOnExceedMinDigit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
NegativeBackground
Gets or sets background of the control when it's value is negative. This is a dependency property.
Declaration
public Brush NegativeBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.BrushNegative Background brush. Default value is null. |
NegativeBorderBrush
Gets or sets the negative border brush.
Declaration
public Brush NegativeBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The negative border brush. Default value is null. |
NegativeForeground
Gets or sets foreground of the control when it's value is negative.
Declaration
public Brush NegativeForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Default value is Colors.Red. |
NullValue
Gets or sets the null value assigned to the control.
Declaration
public double? NullValue { get; set; }
Property Value
Type |
---|
System.Nullable<System.Double> |
NullValueText
Gets or sets the text contents assigned to control.
Declaration
public string NullValueText { get; set; }
Property Value
Type |
---|
System.String |
NumberDecimalDigits
Gets or Sets number of System.Int32 values contained in NumberDecimalDigits of UpDown control.
Declaration
public int NumberDecimalDigits { get; set; }
Property Value
Type |
---|
System.Int32 |
NumberFormatInfo
Gets a read-only System.Globalization.NumberFormatInfo that formats values based on the current culture.
Declaration
public NumberFormatInfo NumberFormatInfo { get; set; }
Property Value
Type |
---|
System.Globalization.NumberFormatInfo |
RangeAdornerBackground
Gets or sets the UpDown RangeAdornerBackground.
Declaration
public Brush RangeAdornerBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The RangeAdornerBackground. |
SelectionBrush
Gets or sets the selection brush.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public Brush SelectionBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The selection brush. |
Step
Gets or sets the step to increment or decrement the value of the control when the up or down button is clicked. This is a dependency property.
Declaration
public double Step { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 1. |
See Also
TextAlignment
Specifies whether the text in the object is left-aligned, right-aligned, centered, or justified.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type |
---|
System.Windows.TextAlignment |
UpDownBackground
Gets or sets the UpDown Background brush.
Declaration
public Brush UpDownBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The UpDown Background.The default value is Colors.Transparent |
UpDownBorderBrush
Gets or sets the UpDown BorderBrush
Declaration
public Brush UpDownBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The UpDown BorderBrush.The default value is Colors.Transparent. |
UpDownForeground
Gets or sets the UpDown Foreground brush.
Declaration
public Brush UpDownForeground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The UpDown Foreground. |
UseNullOption
Gets or sets a value indicating whether [use null option].
Declaration
public bool UseNullOption { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Value
Gets or sets the value assigned to the control. This is a dependency property.
Declaration
public double? Value { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | Type: System.Double Default value is 0. |
See Also
ZeroColor
Gets or sets foreground of the control when it's value is Zero.
Declaration
public Brush ZeroColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | Type: System.Windows.Media.Brush Default value is Colors.Green. |
Methods
Dispose()
Disposes all the resources.
Declaration
public void Dispose()
OnAllowEditChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnAllowEditChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Creates the automation peer for UpDown Control.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |
OnCursorTemplateChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises CursorTemplate property changed. CursorTemplateChanged event.
Declaration
protected virtual void OnCursorTemplateChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. |
OnFocusedBackgroundChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises FocusedBackgroundChanged event.
Declaration
protected virtual void OnFocusedBackgroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. |
OnFocusedBorderBrushChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises FocusedBorderBrushChanged event.
Declaration
protected virtual void OnFocusedBorderBrushChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. |
OnFocusedForegroundChanged(DependencyPropertyChangedEventArgs)
Updates property value cache and raises FocusedForegroundChanged event.
Declaration
protected virtual void OnFocusedForegroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. |
OnIsValueNegativeChanged(DependencyPropertyChangedEventArgs)
Called when IsValueNegative property changed.
Declaration
protected virtual void OnIsValueNegativeChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | Property change details, such as old value and new value. |
OnMaxValidationChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnMaxValidationChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnMaxValueChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnMaxValueChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnMinValidationChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnMinValidationChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnMinValueChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnMinValueChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnNegativeForegroundChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnNegativeForegroundChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnNullValueTextChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnNullValueTextChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnNumberFormatInfoChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnNumberFormatInfoChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnPreviewKeyDown(KeyEventArgs)
Invoked when a System.Windows.Input.Keyboard.PreviewKeyDown attached routed event occurs.
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | Provides data for the System.Windows.UIElement.KeyDown�routed events, as well as related attached and Preview events. |
OnStepChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnStepChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnUseNullOptionChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnUseNullOptionChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnValueChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnValueChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
OnZeroColorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnZeroColorChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e |
SelectAll()
Selects all the contents of the text editing control.
Declaration
public void SelectAll()
Events
AllowEditChanged
Event that is raised when AllowEdit property is changed.
Declaration
public event PropertyChangedCallback AllowEditChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
CursorTemplateChanged
Event that is raised when System.Windows.Controls.ControlTemplate property is changed.
Declaration
[Obsolete("Event will not help due to internal arhitecture changes")]
public event PropertyChangedCallback CursorTemplateChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FocusedBackgroundChanged
Event that is raised when FocusedBackground property is changed.
Declaration
public event PropertyChangedCallback FocusedBackgroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FocusedBorderBrushChanged
Event that is raised when FocusedBorderBrush property is changed.
Declaration
public event PropertyChangedCallback FocusedBorderBrushChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
FocusedForegroundChanged
Event that is raised when FocusedForeground property is changed.
Declaration
public event PropertyChangedCallback FocusedForegroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
IsScrollingOnCircleChanged
Event that is raised when IsScrollingOnCircle property is changed.
Declaration
public event PropertyChangedCallback IsScrollingOnCircleChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
IsValueNegativeChanged
Event that is raised when IsValueNegativeChanged property is changed.
Declaration
[Obsolete("Event will not help due to internal arhitecture changes")]
public event PropertyChangedCallback IsValueNegativeChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MaxValidationChanged
Event that is raised when MaxValidation property is changed.
Declaration
public event PropertyChangedCallback MaxValidationChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MaxValueChanged
Event that is raised when MaxValue property is changed.
Declaration
public event PropertyChangedCallback MaxValueChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinValidationChanged
Event that is raised when MinValidation property is changed.
Declaration
public event PropertyChangedCallback MinValidationChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
MinValueChanged
Event that is raised when MinValue property is changed.
Declaration
public event PropertyChangedCallback MinValueChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
NegativeForegroundChanged
Event that is raised when NegativeForeground property is changed.
Declaration
public event PropertyChangedCallback NegativeForegroundChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
NullValueTextChanged
Event that is raised when NullValueText property is changed.
Declaration
public event PropertyChangedCallback NullValueTextChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
NumberFormatInfoChanged
Event that is raised when NumberFormatInfo property is changed.
Declaration
public event PropertyChangedCallback NumberFormatInfoChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
StepChanged
Event that is raised when Step property is changed.
Declaration
public event PropertyChangedCallback StepChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
UseNullOptionChanged
Event that is raised when UseNullOption property is changed.
Declaration
public event PropertyChangedCallback UseNullOptionChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
ValueChanged
Event that is raised when Value property is changed.
Declaration
public event PropertyChangedCallback ValueChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |
ValueChanging
Event that is raised before Value property is changed.
Declaration
public event UpDown.ValueChangingEventHandler ValueChanging
Event Type
Type |
---|
UpDown.ValueChangingEventHandler |
ZeroColorChanged
Event that is raised when ZeroColor property is changed.
Declaration
public event PropertyChangedCallback ZeroColorChanged
Event Type
Type |
---|
System.Windows.PropertyChangedCallback |