Class CurrencyTextBox
CurrencyTextBox
Implements
Inherited Members
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
[SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2007SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010BlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010BlackStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2010SilverStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2003, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2003Style.xaml")]
[SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/BlendStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.SyncOrange, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/SyncOrangeStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyRed, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/ShinyRedStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.ShinyBlue, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/ShinyBlueStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Default, Type = typeof(CurrencyTextBox), XamlResource = "/Syncfusion.Shared.WPF;component/Controls/Editors/Themes/Generic.xaml")]
[SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/VS2010Style.xaml")]
[SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/MetroStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/TransparentStyle.xaml")]
[SkinType(SkinVisualStyle = Skin.Office2013, Type = typeof(CurrencyTextBox), XamlResource = "pack://application:,,,/Syncfusion.Shared.Wpf.Classic;component/Controls/Editors/Themes/Office2013Style.xaml")]
public class CurrencyTextBox : EditorBase, IDisposableConstructors
CurrencyTextBox()
Initializes a new instance of the CurrencyTextBox class.
Declaration
public CurrencyTextBox()Fields
CurrencyDecimalDigitsProperty
Identifies the CurrencyDecimalDigits dependency property.
Declaration
public static readonly DependencyProperty CurrencyDecimalDigitsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencyDecimalDigits dependency property.
CurrencyDecimalSeparatorProperty
Identifies the CurrencyDecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty CurrencyDecimalSeparatorPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencyDecimalSeparator dependency property.
CurrencyGroupSeparatorProperty
Identifies the CurrencyGroupSeparator dependency property.
Declaration
public static readonly DependencyProperty CurrencyGroupSeparatorPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencyGroupSeparator dependency property.
CurrencyGroupSizesProperty
Identifies the CurrencyGroupSizes dependency property.
Declaration
public static readonly DependencyProperty CurrencyGroupSizesPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencyGroupSizes dependency property.
CurrencyNegativePatternProperty
Identifies the CurrencyNegativePattern dependency property.
Declaration
public static readonly DependencyProperty CurrencyNegativePatternPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencyNegativePattern dependency property.
CurrencyPositivePatternProperty
Identifies the CurrencyPositivePattern dependency property.
Declaration
public static readonly DependencyProperty CurrencyPositivePatternPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencyPositivePatternProperty dependency property.
CurrencySymbolPositionProperty
Identifies the CurrencySymbolPosition dependency property.
Declaration
public static readonly DependencyProperty CurrencySymbolPositionPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the CurrencySymbolPosition dependency property.
CurrencySymbolProperty
Identifies the 
Declaration
public static readonly DependencyProperty CurrencySymbolPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the 
GroupSeperatorEnabledProperty
Identifies the GroupSeperatorEnabled dependency property.
Declaration
public static readonly DependencyProperty GroupSeperatorEnabledPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the GroupSeperatorEnabled dependency property.
InvalidValueBehaviorProperty
Identifies the InvalidValueBehavior dependency property.
Declaration
public static readonly DependencyProperty InvalidValueBehaviorPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the InvalidValueBehavior dependency property.
MaximumCurrencyDecimalDigitsProperty
Represents a MaximumCurrencyDecimalDigits property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty MaximumCurrencyDecimalDigitsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
MaxValueProperty
Identifies the MaxValue dependency property.
Declaration
public static readonly DependencyProperty MaxValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the MaxValue dependency property.
MinimumCurrencyDecimalDigitsProperty
Represents a MinimumCurrencyDecimalDigits property that can be set through methods such as, styling, data binding, animation, and inheritance.
Declaration
public static readonly DependencyProperty MinimumCurrencyDecimalDigitsPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
MinValueProperty
Identifies the MinValue dependency property.
Declaration
public static readonly DependencyProperty MinValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the MinValue dependency property.
NullValueProperty
Identifies the NullValue dependency property.
Declaration
public static readonly DependencyProperty NullValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the NullValue dependency property.
ScrollIntervalProperty
Identifies the ScrollInterval dependency property.
Declaration
public static readonly DependencyProperty ScrollIntervalPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the ScrollInterval dependency property.
ValidationCompletedProperty
Identifies the ValidationCompleted dependency property.
Declaration
public static readonly DependencyProperty ValidationCompletedPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the ValidationCompleted dependency property.
ValidationValueProperty
Identifies the ValidationValue dependency property.
Declaration
public static readonly DependencyProperty ValidationValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the ValidationValue dependency property.
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValuePropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the Value dependency property.
ValueValidationProperty
Identifies the ValueValidation dependency property.
Declaration
public static readonly DependencyProperty ValueValidationPropertyField Value
| Type | 
|---|
| System.Windows.DependencyProperty | 
Remarks
The identifier for the ValueValidation dependency property.
Properties
copycommand
Gets the value that represents the Copy command.
Declaration
public ICommand copycommand { get; }Property Value
| Type | 
|---|
| System.Windows.Input.ICommand | 
CurrencyDecimalDigits
Declaration
public int CurrencyDecimalDigits { get; set; }Property Value
| Type | 
|---|
| System.Int32 | 
CurrencyDecimalSeparator
Declaration
public string CurrencyDecimalSeparator { get; set; }Property Value
| Type | 
|---|
| System.String | 
CurrencyGroupSeparator
Gets or Sets the currency group separator of CurrencyTextBox text.
Declaration
public string CurrencyGroupSeparator { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | A string contains the Special characters of CurrencyTextBox. The default value is string.Empty. | 
CurrencyGroupSizes
Declaration
public Int32Collection CurrencyGroupSizes { get; set; }Property Value
| Type | 
|---|
| System.Windows.Media.Int32Collection | 
CurrencyNegativePattern
Gets or sets the value pattern for the negative Value.
Declaration
public int CurrencyNegativePattern { get; set; }Property Value
| Type | 
|---|
| System.Int32 | 
CurrencyPositivePattern
Gets or sets the value pattern for the positive Value.
Declaration
public int CurrencyPositivePattern { get; set; }Property Value
| Type | 
|---|
| System.Int32 | 
CurrencySymbol
gets or sets the value indicating the currency symbol.
Declaration
public string CurrencySymbol { get; set; }Property Value
| Type | 
|---|
| System.String | 
CurrencySymbolPosition
Gets or sets the value that indicating the currency symbol position.
Declaration
[Obsolete("Property will not help due to internal arhitecture changes")]
public CurrencySymbolPosition CurrencySymbolPosition { get; set; }Property Value
| Type | 
|---|
| CurrencySymbolPosition | 
cutcommand
Gets the value that represents the Cut command.
Declaration
public ICommand cutcommand { get; }Property Value
| Type | 
|---|
| System.Windows.Input.ICommand | 
GroupSeperatorEnabled
Declaration
public bool GroupSeperatorEnabled { get; set; }Property Value
| Type | 
|---|
| System.Boolean | 
InvalidValueBehavior
Gets or sets the way of CurrencyTextBox reaction on wrong input data.
Declaration
public InvalidInputBehavior InvalidValueBehavior { get; set; }Property Value
| Type | 
|---|
| InvalidInputBehavior | 
MaximumCurrencyDecimalDigits
Declaration
public int MaximumCurrencyDecimalDigits { get; set; }Property Value
| Type | 
|---|
| System.Int32 | 
MaxValue
Gets or sets the maximum value of CurrencyTextBox.
Declaration
public decimal MaxValue { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Decimal | It returns double value. The default value is double.MaxValue. | 
MinimumCurrencyDecimalDigits
Declaration
public int MinimumCurrencyDecimalDigits { get; set; }Property Value
| Type | 
|---|
| System.Int32 | 
MinValue
Gets or sets the minimum value of CurrencyTextBox.
Declaration
public decimal MinValue { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Decimal | It returns currency value. The default value is MinValue. | 
NullValue
Gets or sets the null value of CurrencyTextBox.
Declaration
public decimal? NullValue { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Decimal> | Returns double value. The default value is null. | 
pastecommand
Gets the value that represents the Paste command.
Declaration
public ICommand pastecommand { get; }Property Value
| Type | 
|---|
| System.Windows.Input.ICommand | 
ScrollInterval
Gets or sets the scroll interval of CurrencyTextBox.
Declaration
public double ScrollInterval { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Double | Returns double value. The default value is 1.0. | 
ValidationCompleted
Declaration
public bool ValidationCompleted { get; set; }Property Value
| Type | 
|---|
| System.Boolean | 
ValidationValue
Gets or Sets the string that the formatted input string is being validated.
Declaration
public string ValidationValue { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | A string containing the text contents of the text box. The default is an String.Empty. | 
Value
Gets or sets the value of CurrencyTextBox.
Declaration
public decimal? Value { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<System.Decimal> | It returns currency value. The default value is null. | 
ValueValidation
Gets or sets the string validation constraint for the CurrencyTextBox.
Declaration
public StringValidation ValueValidation { get; set; }Property Value
| Type | Description | 
|---|---|
| StringValidation | Returns string validation value. The Default value is StringValidation.OnLostFocus. | 
Methods
Dispose()
Dispose the CurrencyTextBox
Declaration
public void Dispose()OnApplyTemplate()
Invoked before the UI element displays in an application.
Declaration
public override void OnApplyTemplate()OnContextMenuOpening(ContextMenuEventArgs)
Invoked when System.Windows.FrameworkElement.ContextMenuOpening event occurs.
Declaration
protected override void OnContextMenuOpening(ContextMenuEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Controls.ContextMenuEventArgs | e | The System.Windows.Controls.ContextMenuEventArgs that contains the event data. | 
Overrides
OnCurrencyDecimalDigitsChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencyDecimalDigits property changed.
Declaration
public static void OnCurrencyDecimalDigitsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencyDecimalDigits property changed.
Declaration
protected void OnCurrencyDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyDecimalSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencyDecimalSeparator property changed.
Declaration
public static void OnCurrencyDecimalSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyDecimalSeparatorChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencyDecimalSeparator property changed.
Declaration
protected void OnCurrencyDecimalSeparatorChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyGroupSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencyGroupSeparator property changed.
Declaration
public static void OnCurrencyGroupSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyGroupSeparatorChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencyGroupSeparator property changed.
Declaration
protected void OnCurrencyGroupSeparatorChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyGroupSizesChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencyGroupSizes property changed.
Declaration
public static void OnCurrencyGroupSizesChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyGroupSizesChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencyGroupSizes property changed.
Declaration
protected void OnCurrencyGroupSizesChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyNegativePatternChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencyNegativePattern property changed.
Declaration
public static void OnCurrencyNegativePatternChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyNegativePatternChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencyNegativePattern property changed.
Declaration
protected void OnCurrencyNegativePatternChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyPositivePatternChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencyPositivePattern property changed.
Declaration
public static void OnCurrencyPositivePatternChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencyPositivePatternChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencyPositivePattern property changed.
Declaration
protected void OnCurrencyPositivePatternChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencySymbolChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencySymbol property changed.
Declaration
public static void OnCurrencySymbolChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencySymbolChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencySymbol property changed.
Declaration
protected void OnCurrencySymbolChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencySymbolPositionChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when CurrencySymbolPosition property changed.
Declaration
public static void OnCurrencySymbolPositionChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnCurrencySymbolPositionChanged(DependencyPropertyChangedEventArgs)
Invoked when CurrencySymbolPosition property changed.
Declaration
protected void OnCurrencySymbolPositionChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnGotFocus(RoutedEventArgs)
Invoked before System.Windows.UIElement.GotFocus event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.RoutedEventArgs | e | The System.Windows.RoutedEventArgs that contains the event data. | 
Overrides
OnInvalidValueBehaviorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when InvalidValueBehavior property changed.
Declaration
public static void OnInvalidValueBehaviorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs)
Invoked when InvalidValueBehavior property changed.
Declaration
protected void OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnKeyDown(KeyEventArgs)
Invoked when System.Windows.UIElement.KeyDown event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs that contains the event data. | 
OnLostFocus(RoutedEventArgs)
Invoked before System.Windows.UIElement.LostFocus event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.RoutedEventArgs | e | The System.Windows.RoutedEventArgs that contains the event data. | 
Overrides
OnMaximumCurrencyDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Called when OnMaximumCurrencyDecimalDigits property changed.
Declaration
protected void OnMaximumCurrencyDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMaxValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when MaxValue property changed.
Declaration
public static void OnMaxValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnMaxValueChanged(DependencyPropertyChangedEventArgs)
Invoked when MaxValue property changed.
Declaration
protected void OnMaxValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnMinimumCurrencyDecimalDigitsChanged(DependencyPropertyChangedEventArgs)
Called when OnMinimumCurrencyDecimalDigits property changed.
Declaration
protected void OnMinimumCurrencyDecimalDigitsChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | System.Windows.DependencyPropertyChangedEventArgs. Provides data for property changed events. | 
OnMinValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when MinValue property changed.
Declaration
public static void OnMinValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnMinValueChanged(DependencyPropertyChangedEventArgs)
Invoked when MinValue property changed.
Declaration
protected void OnMinValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnMouseWheel(MouseWheelEventArgs)
Invoked when the System.Windows.UIElement.MouseWheel event occurs.
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseWheelEventArgs | e | The System.Windows.Input.MouseWheelEventArgs that contains the event data. | 
OnNullValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when NullValue property changed.
Declaration
public static void OnNullValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnNullValueChanged(DependencyPropertyChangedEventArgs)
Invoked when NullValue property changed.
Declaration
protected void OnNullValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnPreviewKeyDown(KeyEventArgs)
Invoked when the System.Windows.Input.Keyboard.PreviewKeyDownEvent attached routed event occurs.
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.KeyEventArgs | e | The System.Windows.Input.KeyEventArgs that contains the event data. | 
Overrides
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)
Invoked when the keyboard is not focused on this element
Declaration
protected override void OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.KeyboardFocusChangedEventArgs | e | The System.Windows.Input.KeyboardFocusChangedEventArgs that contains the event data. | 
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Invoked on MouseLeftButton down
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.MouseButtonEventArgs | e | 
Overrides
OnTextInput(TextCompositionEventArgs)
Invoked before the System.Windows.UIElement.TextInput event occurs.
Declaration
protected override void OnTextInput(TextCompositionEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.Input.TextCompositionEventArgs | e | The System.Windows.Input.TextCompositionEventArgs that contains the event data. | 
OnUseNullOptionChanged(DependencyPropertyChangedEventArgs)
Invoked when UseNullOption property changed.
Declaration
public override void OnUseNullOptionChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
Overrides
OnValidationCompletedPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when ValidationCompleted property changed.
Declaration
public static void OnValidationCompletedPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnValidationCompletedPropertyChanged(DependencyPropertyChangedEventArgs)
Invoked when ValidationCompleted property changed.
Declaration
protected void OnValidationCompletedPropertyChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnValidationValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when ValidationValue property changed.
Declaration
public static void OnValidationValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnValidationValueChanged(DependencyPropertyChangedEventArgs)
Invoked when ValidationValue property changed.
Declaration
protected void OnValidationValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Invoked when Value property changed.
Declaration
public static void OnValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyObject | obj | The obj contains a CurrencyTextBox. | 
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
OnValueChanged(DependencyPropertyChangedEventArgs)
Invoked when Value property changed.
Declaration
protected void OnValueChanged(DependencyPropertyChangedEventArgs args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Windows.DependencyPropertyChangedEventArgs | args | The System.Windows.DependencyPropertyChangedEventArgs that contains the event data. | 
Events
CurrencyDecimalDigitsChanged
Occurs when the CurrencyDecimalDigits property is changed.
Declaration
public event PropertyChangedCallback CurrencyDecimalDigitsChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencyDecimalSeparatorChanged
Occurs when the CurrencyDecimalSeparator property is changed.
Declaration
public event PropertyChangedCallback CurrencyDecimalSeparatorChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencyGroupSeparatorChanged
Occurs when the CurrencyGroupSeparator property is changed.
Declaration
public event PropertyChangedCallback CurrencyGroupSeparatorChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencyGroupSizesChanged
Occurs when the CurrencyGroupSizes property is changed.
Declaration
public event PropertyChangedCallback CurrencyGroupSizesChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencyNegativePatternChanged
Occurs when the CurrencyNegativePattern property is changed.
Declaration
public event PropertyChangedCallback CurrencyNegativePatternChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencyPositivePatternChanged
Occurs when the CurrencyPositivePatternx property is changed.
Declaration
public event PropertyChangedCallback CurrencyPositivePatternChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencySymbolChanged
Occurs when the CurrencySymbol property is changed.
Declaration
public event PropertyChangedCallback CurrencySymbolChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
CurrencySymbolPositionChanged
Occurs when the CurrencySymbolPosition property is changed.
Declaration
public event PropertyChangedCallback CurrencySymbolPositionChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
InvalidValueBehaviorChanged
Occurs when the InvalidValueBehavior property is changed.
Declaration
public event PropertyChangedCallback InvalidValueBehaviorChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
MaxValueChanged
Occurs when the MaxValue property is changed.
Declaration
public event PropertyChangedCallback MaxValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
MinValueChanged
Occurs when the MinValue property is changed.
Declaration
public event PropertyChangedCallback MinValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
Validated
Occurs after validating the Value.
Declaration
public event EventHandler ValidatedEvent Type
| Type | 
|---|
| System.EventHandler | 
Validating
Occurs when validating the Value.
Declaration
public event CancelEventHandler ValidatingEvent Type
| Type | 
|---|
| System.ComponentModel.CancelEventHandler | 
ValidationCompletedChanged
Occurs when the ValidationCompleted property is changed.
Declaration
public event PropertyChangedCallback ValidationCompletedChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
ValidationValueChanged
Occurs when the ValidationValue property is changed.
Declaration
public event PropertyChangedCallback ValidationValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
ValueChanged
Occurs when the Value property is changed.
Declaration
public event PropertyChangedCallback ValueChangedEvent Type
| Type | 
|---|
| System.Windows.PropertyChangedCallback | 
ValueValidationCompleted
Occurs when the ValueValidationCompleted property is changed.
Declaration
public event StringValidationCompletedEventHandler ValueValidationCompletedEvent Type
| Type | 
|---|
| StringValidationCompletedEventHandler | 
Explicit Interface Implementations
IDisposable.Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
void IDisposable.Dispose()