The C1MaskedTextBox type exposes the following members.

Constructors

  Name Description
Public method C1MaskedTextBox
Initializes a new instance of a C1MaskedTextBox.

Methods

  Name Description
Protected method ChangeVisualStateWatermark
Updates the current visual state of the Watermark visual state group to match the object's properties.
(Inherited from C1TextBoxBase.)
Protected method OnApplyTemplate
Builds the visual tree for the C1TextBoxBase control when a new template is applied.
(Inherited from C1TextBoxBase.)
Protected method OnIsFocusedChanged
Callback called when the [P:IsFocused] property changes.
(Inherited from C1TextBoxBase.)
Protected method OnKeyDown
Called when KeyDown event occurs.
(Inherited from C1TextBoxBase.)
Protected method OnMaskedTextChanged
Occurs when consistent content that conforms to the Mask changes in the text box.
Protected method OnTextChanged
Called immediately after the Text property changes.
(Inherited from C1TextBoxBase.)
Protected method RaisePropertyChanged
Raises the property changed event.
(Inherited from C1TextBoxBase.)
Protected method UpdateIsWatermarked
Derived classes can call this method when the [P:IsWatermarked] state is changed from their point of view. This method forces the IsWatermarked state to be updated without clearing the Text property.
(Inherited from C1TextBoxBase.)
Public method UpdateValue
For Silverlight version of the control, forces C1MaskedTextBox to update its Value and Text properties when the control is not loaded. Does nothing in WPF.

Fields

  Name Description
Public field Static member CultureProperty
Identifies the Culture()()()() dependency property.
Public field Static member MaskProperty
Identifies the Mask dependency property.
Public field Static member ReplaceModeProperty
Identifies the ReplaceMode dependency property.
Public field Static member TextMaskFormatProperty
Identifies the TextMaskFormat dependency property.
Public field Static member ValueProperty
Identifies the Value dependency property.

Properties

  Name Description
Public property C1Text
Get or set the C1Text property. This property is used as a workaround when a binding needs to be updated on each keystroke.
(Inherited from C1TextBoxBase.)
Public property CornerRadius
Gets or sets a value that represents the degree to which the corners of the element are rounded.
(Inherited from C1TextBoxBase.)
Public property DisabledCuesVisibility
Gets or sets a value indicating whether the disabled visuals of the control are visible.
(Inherited from C1TextBoxBase.)
Public property FocusBrush
Gets or sets the Brush used to highlight the focused control.
(Inherited from C1TextBoxBase.)
Public property FocusCuesVisibility
Gets or sets a value indicating whether the focus visuals of the control are visible.
(Inherited from C1TextBoxBase.)
Public property IsFocused
Returns true if the control has the focus.
(Inherited from C1TextBoxBase.)
Public property IsValid
Gets a value that determines whether the control contains a valid entry.
Public property IsWatermarked
Gets a value indicating whether this textbox is watermarked.
(Inherited from C1TextBoxBase.)
Public property Mask
Gets or sets the input mask.
Public property MouseOverBrush
Gets or sets the Brush used to highlight the control when it has the mouse over.
(Inherited from C1TextBoxBase.)
Public property PromptChar
Gets or sets the character used to show spaces where user is supposed to type.
Public property ReplaceMode
Gets or sets a value indicating whether new characters will be inserted or replace existing ones while you are typing.
Public property SelectOnFocus
Gets or sets the condition under which all control text is selected when the control receives focus.
(Inherited from C1TextBoxBase.)
Public property TextMaskFormat
Gets or sets a value that determines whether literals and prompt characters are included in the Value property.
Public property ValidationDecoratorStyle
Gets or sets the style that is applied to the inner C1ValidationDecorator.
(Inherited from C1TextBoxBase.)
Public property Value
Gets the formatted content of the control as specified by the TextMaskFormat property.
Public property Watermark
Gets or sets the content of the watermark.
(Inherited from C1TextBoxBase.)

Events

  Name Description
Public event KeyDown
Occurs when a keyboard key is pressed while the UIElement has focus.
(Inherited from C1TextBoxBase.)
Public event MaskedTextChanged
Occurs when consistent content that conforms to the Mask changes in the text box.
Public event PropertyChanged
Occurs when a property value changes.
(Inherited from C1TextBoxBase.)

See Also