[]
Represents a control that uses a mask to prevent users from entering invalid data.
public class C1MaskedTextBox : C1TextBox, INotifyPropertyChanged, IDisposable
Name | Description |
---|---|
C1MaskedTextBox() | Initializes a new instance of the C1MaskedTextBox class. |
Name | Description |
---|---|
AutoConvertProperty | Identifies the AutoConvert dependency property. |
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 |
---|---|
AutoConvert | Gets or sets whether to automatically convert the entered characters according to the input mask. |
Culture | Gets or sets the culture used to display the value in the C1.WPF.C1MaskedTextBox. |
IsValid | Gets a value that determines whether the control contains a valid entry. |
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 |
---|---|
Dispose(bool) | |
OnApplyTemplate() | |
OnMaskedTextChanged(MaskedTextChangedEventArgs) | Occurs when consistent content that conforms to the Mask changes in the text box. |
UpdateValue() | 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. |
ValueChanged | Occurs when Value changed. |