[]
        
(Showing Draft Content)

C1.iOS.Input.C1MaskedTextField

C1MaskedTextField Class

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.

Inheritance
C1MaskedTextField
Implements
IComponent
IDisposable
Namespace: C1.iOS.Input
Assembly: C1.iOS.Input.dll
Syntax
public class C1MaskedTextField : C1TextField, IDependencyObject, IComponent, IDisposable, IFlowDirection

Constructors

Name Description
C1MaskedTextField()

Initializes a new instance of the C1MaskedTextField class.

C1MaskedTextField(CGRect)

Initializes a new instance of the C1MaskedTextField class with frame.

C1MaskedTextField(IntPtr)

Initializes a new instance of the C1MaskedTextField class.

Fields

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.

SecureTextEntryProperty

Identifies the SecureTextEntry 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.

Properties

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.

SecureTextEntry

Gets or sets the sercure text entry type.

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.

Value

Gets or sets the raw value of the control (excluding prompt and mask literals)

Methods

Name Description
AwakeFromNib()

Called after the object has been loaded from the nib file. Overriders must call base.AwakeFromNib().

Cut(NSObject)

Indicates a "Cut" editing operation.

Dispose(bool)
DrawPlaceholder(CGRect)

Draw placeholder string.

GetValue(DependencyProperty)

Get property value.

LayoutSubviews()

Lays out subviews.

OnCompleted(CompletedEventArgs)

Raises the Completed event.

SetValue(DependencyProperty, object)

Set property value.

UpdateLayoutDirection(FlowDirection)

Update layout of control based on FlowDirection property.

Events

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.