[]
Represents a control that uses a mask to prevent users from entering invalid data.
public class C1MaskedTextBox : C1TextBoxBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, INotifyPropertyChanged
Name | Description |
---|---|
C1MaskedTextBox() | Initializes a new instance of a C1MaskedTextBox. |
Name | Description |
---|---|
CultureProperty | Identifies the Culture dependency property. |
MaskProperty | Identifies the Mask dependency property. |
PromptCharProperty | Identifies the PromptChar dependency property. |
ReplaceModeProperty | Identifies the ReplaceMode dependency property. |
TextMaskFormatProperty | Identifies the TextMaskFormat dependency property. |
ValueProperty | Identifies the Value dependency property. |
Name | Description |
---|---|
Culture | Sets the culture used to display the value in the C1MaskedTextBox. |
IsValid | Gets a value that determines whether the control contains a valid entry. |
IsWatermarked | Gets a value indicating whether this textbox is watermarked. |
Mask | Gets or sets the input mask. |
PromptChar | Gets or sets the character used to show spaces where user is supposed to type. |
ReplaceMode | Gets or sets a value indicating whether new characters will be inserted or replace existing ones while you are typing. |
TextMaskFormat | Gets or sets a value that determines whether literals and prompt characters are included in the Value property. |
Value | Gets or sets the formatted content of the control as specified by the TextMaskFormat property. |
Name | Description |
---|---|
OnApplyTemplate() | Builds the visual tree for the C1.WPF.C1TextBoxBase control when a new template is applied. |
OnMaskedTextChanged(MaskedTextChangedEventArgs) | Occurs when consistent content that conforms to the Mask changes in the text box. |
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. |
Name | Description |
---|---|
MaskedTextChanged | Occurs when consistent content that conforms to the Mask changes in the text box. |