[]
Masked editor provides a way to govern what a user is allowed to input. The control prevents users from accidentally entering invalid data and saves time by skipping over literals (such as slashes in dates) as the user types.
public class C1MaskedTextView : C1ClearableEditText, IDependencyObject, IComponent, IDisposable, IFlowDirection
Name | Description |
---|---|
C1MaskedTextView(Context) | Initializes a new instance of the C1MaskedTextView class. |
C1MaskedTextView(Context, IAttributeSet) | Initializes a new instance of the C1MaskedTextView class. |
Name | Description |
---|---|
FlowDirectionProperty | Identifies the FlowDirection dependency property. |
FontAttributesProperty | Identifies the FontAttributes dependency property. |
FontFamilyProperty | Identifies the FontFamily dependency property. |
FontSizeProperty | Identifies the FontSize dependency property. |
KeyboardTypeProperty | Identifies the KeyboardType dependency property. |
MaskProperty | Identifies the Mask dependency property. |
PlaceholderColorProperty | Identifies the PlaceholderColor dependency property. |
PlaceholderProperty | Identifies the Placeholder dependency property. |
PromptCharProperty | Identifies the PromptChar dependency property. |
ShowClearButtonProperty | Identifies the ShowClearButton dependency property. |
TextAlignmentProperty | Identifies the TextAlignment dependency property. |
TextColorProperty | Identifies the TextColor dependency property. |
TextProperty | Inentifies the Text dependency property. |
ValueProperty | Identifies the Value dependency property. |
Name | Description |
---|---|
FlowDirection | Gets or sets a value that indicates whether that content should flow. |
FontAttributes | Gets or sets the attributes of the font. |
FontFamily | Gets or sets the family of the font. |
FontSize | Gets or sets the size of the font. |
KeyboardType | Gets or sets the keyboard type. |
Mask | Gets or sets the mask used to validate input as the user types. The mask must be a string composed of one or more of the masking elements. |
MaskCompleted | Gets or sets a value indicating whether show clear button. |
MaskFull | Gets a value that indicates whether the mask has been completely filled. |
Placeholder | Gets or sets the Placeholder of the control. |
PlaceholderColor | Gets or sets the color of the Placeholder in the control. |
PromptChar | Gets or sets the symbol used to show input positions in the control. |
ShowClearButton | Gets or sets a value indicating whether show clear button. |
Site | |
Text | Gets or sets the text in the control. |
TextAlignment | Gets or sets the alignment of the text. |
TextColor | Gets or sets the text color. |
Value | Gets or sets the raw value of the control (excluding prompt and mask literals) |
Name | Description |
---|---|
GetValue(DependencyProperty) | Get property value. |
OnAttachedToWindow() | |
OnCompleted(CompletedEventArgs) | Raises the Completed event. |
OnLayout(bool, int, int, int, int) | |
SetValue(DependencyProperty, object) | Set property value. |
UpdateLayoutDirection(FlowDirection) | Update layout of control based on FlowDirection property. |
Name | Description |
---|---|
Completed | Occurs when the user finalizes the text in an entry with the return key. |
Disposed | |
TextChanged | Event raised when the text property changed. |