Class MaskedTextBox
Inheritance
System.Object
MaskedTextBox
Implements
System.IDisposable
Assembly: Syncfusion.Shared.WPF.dll
Syntax
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
[SkinType]
public class MaskedTextBox : TextBox, IDisposable
Constructors
MaskedTextBox()
Declaration
Fields
ContentElementVisibilityProperty
Declaration
public static readonly DependencyProperty ContentElementVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
CornerRadiusProperty
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
Type |
System.Windows.DependencyProperty |
CultureProperty
Declaration
public static readonly DependencyProperty CultureProperty
Field Value
Type |
System.Windows.DependencyProperty |
CurrencySymbolProperty
Declaration
public static readonly DependencyProperty CurrencySymbolProperty
Field Value
Type |
System.Windows.DependencyProperty |
DateSeparatorProperty
Declaration
public static readonly DependencyProperty DateSeparatorProperty
Field Value
Type |
System.Windows.DependencyProperty |
DecimalSeparatorProperty
Declaration
public static readonly DependencyProperty DecimalSeparatorProperty
Field Value
Type |
System.Windows.DependencyProperty |
EnableTouchProperty
Declaration
public static readonly DependencyProperty EnableTouchProperty
Field Value
Type |
System.Windows.DependencyProperty |
EnterToMoveNextProperty
Declaration
public static readonly DependencyProperty EnterToMoveNextProperty
Field Value
Type |
System.Windows.DependencyProperty |
FocusedBackgroundProperty
Declaration
public static readonly DependencyProperty FocusedBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
FocusedBorderBrushProperty
Declaration
public static readonly DependencyProperty FocusedBorderBrushProperty
Field Value
Type |
System.Windows.DependencyProperty |
FocusedForegroundProperty
Declaration
public static readonly DependencyProperty FocusedForegroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
GroupSeperatorEnabledProperty
Using a DependencyProperty as the backing store for GroupSeperatorEnabled. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty GroupSeperatorEnabledProperty
Field Value
Type |
System.Windows.DependencyProperty |
InvalidValueBehaviorProperty
Declaration
public static readonly DependencyProperty InvalidValueBehaviorProperty
Field Value
Type |
System.Windows.DependencyProperty |
IsCaretAnimationEnabledProperty
Declaration
public static readonly DependencyProperty IsCaretAnimationEnabledProperty
Field Value
Type |
System.Windows.DependencyProperty |
IsNumericProperty
Declaration
public static readonly DependencyProperty IsNumericProperty
Field Value
Type |
System.Windows.DependencyProperty |
IsUndoEnabledProperty
Declaration
public static readonly DependencyProperty IsUndoEnabledProperty
Field Value
Type |
System.Windows.DependencyProperty |
MaskCompletedProperty
Declaration
public static readonly DependencyProperty MaskCompletedProperty
Field Value
Type |
System.Windows.DependencyProperty |
MaskedTextProperty
Declaration
public static readonly DependencyProperty MaskedTextProperty
Field Value
Type |
System.Windows.DependencyProperty |
MaskProperty
Declaration
public static readonly DependencyProperty MaskProperty
Field Value
Type |
System.Windows.DependencyProperty |
MaxCharLengthProperty
Declaration
public static readonly DependencyProperty MaxCharLengthProperty
Field Value
Type |
System.Windows.DependencyProperty |
MinLengthProperty
Identifies MinLength dependency property
Declaration
public static readonly DependencyProperty MinLengthProperty
Field Value
Type |
System.Windows.DependencyProperty |
NumberGroupSeparatorProperty
Declaration
public static readonly DependencyProperty NumberGroupSeparatorProperty
Field Value
Type |
System.Windows.DependencyProperty |
PromptCharProperty
Declaration
public static readonly DependencyProperty PromptCharProperty
Field Value
Type |
System.Windows.DependencyProperty |
ReadOnlyBackgroundProperty
Declaration
public static readonly DependencyProperty ReadOnlyBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
ReadOnlyProperty
Declaration
public static readonly DependencyProperty ReadOnlyProperty
Field Value
Type |
System.Windows.DependencyProperty |
SelectionForegroundProperty
Declaration
public static readonly DependencyProperty SelectionForegroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
StringValidationProperty
Declaration
public static readonly DependencyProperty StringValidationProperty
Field Value
Type |
System.Windows.DependencyProperty |
TextMaskFormatProperty
Declaration
public static readonly DependencyProperty TextMaskFormatProperty
Field Value
Type |
System.Windows.DependencyProperty |
TextSelectionOnFocusProperty
Declaration
public static readonly DependencyProperty TextSelectionOnFocusProperty
Field Value
Type |
System.Windows.DependencyProperty |
TimeSeparatorProperty
Declaration
public static readonly DependencyProperty TimeSeparatorProperty
Field Value
Type |
System.Windows.DependencyProperty |
ValidationStringProperty
Declaration
public static readonly DependencyProperty ValidationStringProperty
Field Value
Type |
System.Windows.DependencyProperty |
ValueProperty
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkBackgroundProperty
Declaration
public static readonly DependencyProperty WatermarkBackgroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkOpacityProperty
Declaration
public static readonly DependencyProperty WatermarkOpacityProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkTemplateProperty
Identifies the WaterMarkTemplate dependency property.
Declaration
public static DependencyProperty WatermarkTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkTextForegroundProperty
Declaration
public static readonly DependencyProperty WatermarkTextForegroundProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkTextIsVisibleProperty
Declaration
public static readonly DependencyProperty WatermarkTextIsVisibleProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkTextModeProperty
Declaration
public static readonly DependencyProperty WatermarkTextModeProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkTextProperty
Identifies the WaterMarkText dependency property.
Declaration
public static DependencyProperty WatermarkTextProperty
Field Value
Type |
System.Windows.DependencyProperty |
WatermarkVisibilityProperty
Identifies the WaterMarkVisibility dependency property.
Declaration
public static DependencyProperty WatermarkVisibilityProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
ContentElementVisibility
Declaration
public Visibility ContentElementVisibility { get; set; }
Property Value
Type |
System.Windows.Visibility |
copycommand
Declaration
public ICommand copycommand { get; }
Property Value
Type |
System.Windows.Input.ICommand |
CornerRadius
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
Type |
System.Windows.CornerRadius |
Culture
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type |
System.Globalization.CultureInfo |
CurrencySymbol
Declaration
public string CurrencySymbol { get; set; }
Property Value
cutcommand
Declaration
public ICommand cutcommand { get; }
Property Value
Type |
System.Windows.Input.ICommand |
DateSeparator
Declaration
public string DateSeparator { get; set; }
Property Value
DecimalSeparator
Declaration
public string DecimalSeparator { get; set; }
Property Value
EnableTouch
Declaration
public bool EnableTouch { get; set; }
Property Value
EnterToMoveNext
Declaration
public bool EnterToMoveNext { get; set; }
Property Value
FocusedBackground
Declaration
public Brush FocusedBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
FocusedBorderBrush
Declaration
public Brush FocusedBorderBrush { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
FocusedForeground
Declaration
public Brush FocusedForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
GroupSeperatorEnabled
Declaration
public bool GroupSeperatorEnabled { get; set; }
Property Value
InvalidValueBehavior
Declaration
public InvalidInputBehavior InvalidValueBehavior { get; set; }
Property Value
IsCaretAnimationEnabled
Declaration
public bool IsCaretAnimationEnabled { get; set; }
Property Value
IsNumeric
Declaration
public bool IsNumeric { get; set; }
Property Value
IsUndoEnabled
Declaration
public bool IsUndoEnabled { get; set; }
Property Value
Mask
Declaration
public string Mask { get; set; }
Property Value
MaskCompleted
Declaration
public bool MaskCompleted { get; set; }
Property Value
MaskedText
Declaration
public string MaskedText { get; set; }
Property Value
MaxCharLength
Declaration
public int MaxCharLength { get; set; }
Property Value
MinLength
Declaration
public int MinLength { get; set; }
Property Value
NumberGroupSeparator
Declaration
public string NumberGroupSeparator { get; set; }
Property Value
pastecommand
Declaration
public ICommand pastecommand { get; }
Property Value
Type |
System.Windows.Input.ICommand |
PromptChar
Declaration
public char PromptChar { get; set; }
Property Value
ReadOnly
Declaration
public bool ReadOnly { get; set; }
Property Value
ReadOnlyBackground
Declaration
public Brush ReadOnlyBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
SelectionForeground
Declaration
public Brush SelectionForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
StringValidation
Declaration
public StringValidation StringValidation { get; set; }
Property Value
TextMaskFormat
Declaration
public MaskFormat TextMaskFormat { get; set; }
Property Value
TextSelectionOnFocus
Declaration
public bool TextSelectionOnFocus { get; set; }
Property Value
TimeSeparator
Declaration
public string TimeSeparator { get; set; }
Property Value
ValidationString
Declaration
public string ValidationString { get; set; }
Property Value
Value
Declaration
public string Value { get; set; }
Property Value
WatermarkBackground
Declaration
public Brush WatermarkBackground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
WatermarkOpacity
Declaration
public double WatermarkOpacity { get; set; }
Property Value
WatermarkTemplate
Gets or sets the water mark template.
Declaration
public DataTemplate WatermarkTemplate { get; set; }
Property Value
Type |
Description |
System.Windows.DataTemplate |
The water mark template.
|
WatermarkText
Gets or sets the water mark text.
Declaration
public string WatermarkText { get; set; }
Property Value
Type |
Description |
System.String |
The water mark text.
|
WatermarkTextForeground
Declaration
public Brush WatermarkTextForeground { get; set; }
Property Value
Type |
System.Windows.Media.Brush |
WatermarkTextIsVisible
Declaration
public bool WatermarkTextIsVisible { get; set; }
Property Value
WatermarkTextMode
Declaration
public WatermarkTextMode WatermarkTextMode { get; set; }
Property Value
WatermarkVisibility
Gets or sets the water mark visibility.
Declaration
public Visibility WatermarkVisibility { get; set; }
Property Value
Type |
Description |
System.Windows.Visibility |
The water mark visibility.
|
Methods
add_StringValidationCompleted(StringValidationCompletedEventHandler)
Declaration
public void add_StringValidationCompleted(StringValidationCompletedEventHandler value)
Parameters
Dispose()
Declaration
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()
Declaration
protected override void OnContextMenuOpening(ContextMenuEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Controls.ContextMenuEventArgs |
e |
|
OnCurrencySymbolChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnCurrencySymbolChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnCurrencySymbolChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnCurrencySymbolChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnDateSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnDateSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnDateSeparatorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnDateSeparatorChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnDecimalSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnDecimalSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnDecimalSeparatorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnDecimalSeparatorChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnDrop(DragEventArgs)
Declaration
protected override void OnDrop(DragEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.DragEventArgs |
e |
|
OnEnableTouchChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnEnableTouchChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnEnterToMoveNextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnEnterToMoveNextChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnEnterToMoveNextChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnEnterToMoveNextChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnGotFocus(RoutedEventArgs)
Called before System.Windows.UIElement.GotFocus event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.RoutedEventArgs |
e |
The data for the event.
|
OnInvalidValueBehaviorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnInvalidValueBehaviorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnInvalidValueBehaviorChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnKeyDown(KeyEventArgs)
Called when System.Windows.UIElement.KeyDown event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
The data for the event.
|
OnLostFocus(RoutedEventArgs)
Called before System.Windows.UIElement.LostFocus event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.RoutedEventArgs |
e |
The data for the event.
|
OnMaskChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnMaskChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnMaskChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnMaskChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnMaskCompletedPropertyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnMaskCompletedPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnMaskCompletedPropertyChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnMaskCompletedPropertyChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnMinLengthChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnMinLengthChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnMinLengthChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnMinLengthChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnMouseLeave(MouseEventArgs)
Called before System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
The data for the event.
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Called before System.Windows.UIElement.MouseLeftButtonDown event occurs.
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
The data for the event. The event data reports that the left mouse button was pressed.
|
OnMouseLeftButtonUp(MouseButtonEventArgs)
Called before System.Windows.UIElement.MouseLeftButtonUp event occurs.
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
The data for the event. The event data reports that the left mouse button was released.
|
OnNumberGroupSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnNumberGroupSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnNumberGroupSeparatorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnNumberGroupSeparatorChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnPreviewKeyDown(KeyEventArgs)
Declaration
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.KeyEventArgs |
e |
|
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
OnPromptCharChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnPromptCharChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnPromptCharChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnPromptCharChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnTestMaskFormatChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnTestMaskFormatChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnTestMaskFormatChanged(DependencyPropertyChangedEventArgs)
Raised when TestMaskFormat is changed
Declaration
protected void OnTestMaskFormatChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnTextChanged(TextChangedEventArgs)
Declaration
protected override void OnTextChanged(TextChangedEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextChangedEventArgs |
e |
|
OnTextInput(TextCompositionEventArgs)
Called before the System.Windows.UIElement.TextInput event occurs.
Declaration
protected override void OnTextInput(TextCompositionEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.TextCompositionEventArgs |
e |
Provides data about the event.
|
OnTextSelectionOnFocusChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnTextSelectionOnFocusChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnTextSelectionOnFocusChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnTextSelectionOnFocusChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnTimeSeparatorChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnTimeSeparatorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnTimeSeparatorChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnTimeSeparatorChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnValidationStringChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnValidationStringChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnValidationStringChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnValidationStringChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnValueChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnValueChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnValueChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnValueChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWaterMarkTemplateChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [water mark template changed].
Declaration
public static void OnWaterMarkTemplateChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
The obj.
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data.
|
OnWaterMarkTemplateChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnWaterMarkTemplateChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWaterMarkTextChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnWaterMarkTextChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWaterMarkTextChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnWaterMarkTextChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWatermarkTextIsVisibleChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnWatermarkTextIsVisibleChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWatermarkTextIsVisibleChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnWatermarkTextIsVisibleChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWatermarkTextModeChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Declaration
public static void OnWatermarkTextModeChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
OnWatermarkTextModeChanged(DependencyPropertyChangedEventArgs)
Declaration
protected void OnWatermarkTextModeChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
remove_StringValidationCompleted(StringValidationCompletedEventHandler)
Declaration
public void remove_StringValidationCompleted(StringValidationCompletedEventHandler value)
Parameters
Events
CurrencySymbolChanged
Declaration
public event PropertyChangedCallback CurrencySymbolChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
DateSeparatorChanged
Event than is raised after the DateSeparator property has changed.
Declaration
public event PropertyChangedCallback DateSeparatorChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
DecimalSeparatorChanged
Declaration
public event PropertyChangedCallback DecimalSeparatorChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
EnterToMoveNextChanged
Declaration
public event PropertyChangedCallback EnterToMoveNextChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
InvalidValueBehaviorChanged
Declaration
public event PropertyChangedCallback InvalidValueBehaviorChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
MaskChanged
Event than is raised after the Mask property has changed.
Declaration
public event PropertyChangedCallback MaskChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
MaskCompletedChanged
Declaration
public event PropertyChangedCallback MaskCompletedChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
MinLengthChanged
Declaration
public event PropertyChangedCallback MinLengthChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
NumberGroupSeparatorChanged
Declaration
public event PropertyChangedCallback NumberGroupSeparatorChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
PromptCharChanged
Event than is raised after the PromptChar property has changed.
Declaration
public event PropertyChangedCallback PromptCharChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
StringValidationCompleted
Occurs when MaskedTextBox has finished validating the current value using the ValidatingString property.
NOTE: event occurs only when ValidatingString is not empty.
Declaration
public event StringValidationCompletedEventHandler StringValidationCompleted
Event Type
TextSelectionOnFocusChanged
Occurs when [text selection on focus changed].
Declaration
public event PropertyChangedCallback TextSelectionOnFocusChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
TimeSeparatorChanged
Event than is raised after the TimeSeparator property has changed.
Declaration
public event PropertyChangedCallback TimeSeparatorChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
Validated
Occurs when the control is finished validating.
Declaration
public event EventHandler Validated
Event Type
Validating
Occurs when the control is validating.
Declaration
public event CancelEventHandler Validating
Event Type
Type |
System.ComponentModel.CancelEventHandler |
ValidationStringChanged
Declaration
public event PropertyChangedCallback ValidationStringChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
ValueChanged
Declaration
public event PropertyChangedCallback ValueChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
WatermarkTemplateChanged
Declaration
public event PropertyChangedCallback WatermarkTemplateChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
WatermarkTextChanged
Declaration
public event PropertyChangedCallback WatermarkTextChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
WatermarkTextIsVisibleChanged
Declaration
public event PropertyChangedCallback WatermarkTextIsVisibleChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
WatermarkTextModeChanged
Declaration
public event PropertyChangedCallback WatermarkTextModeChanged
Event Type
Type |
System.Windows.PropertyChangedCallback |
Implements
System.IDisposable