[]
        
(Showing Draft Content)

C1.Xamarin.Forms.Input.C1MaskedEntry

C1MaskedEntry 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
C1MaskedEntry
Namespace: C1.Xamarin.Forms.Input
Assembly: C1.Xamarin.Forms.Input.dll
Syntax
public class C1MaskedEntry : Entry

Constructors

Name Description
C1MaskedEntry()

Fields

Name Description
MaskProperty

Identifies the Mask dependency property.

PlaceholderColorProperty

Identifies the PlaceholderColor dependency property.

PromptCharProperty

Identifies the PromptChar dependency property.

ShowClearButtonProperty

Identifies the ShowClearButton dependency property.

ValueProperty

Identifies the Value dependency property.

Properties

Name Description
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.

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.

Value

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

Methods

Name Description
OnCompleted(CompletedEventArgs)

Raises the Completed event.

UpdateLayoutDirection(FlowDirection)

Events

Name Description
Completed

Occurs when the user finalizes the text in an entry with the return key.

TextChanged

Event raised when the text property changed.