Class ApplyMaskFinishedCommandContext
Provides context for custom user commands.
Inheritance
Namespace: Telerik.XamarinForms.Input.MaskedInput
Assembly: Telerik.XamarinForms.Input.dll
Syntax
public class ApplyMaskFinishedCommandContext : Object
Constructors
ApplyMaskFinishedCommandContext(String, String, String, String, Int32, Boolean)
Initializes ApplyMaskFinishedCommandContext
Declaration
public ApplyMaskFinishedCommandContext(string newDisplayedText, string oldDisplayedText, string oldInputValue, string newInputValue, int caretPosition, bool isAccepted)
Parameters
System.String
newDisplayedText
|
System.String
oldDisplayedText
|
System.String
oldInputValue
|
System.String
newInputValue
|
System.Int32
caretPosition
|
System.Boolean
isAccepted
|
Properties
CaretPosition
Gets or sets the position of the caret.
Declaration
public int CaretPosition { get; set; }
Property Value
System.Int32
|
IsAccepted
Gets or sets a value indicating if the candidate text was accepted.
Declaration
public bool IsAccepted { get; set; }
Property Value
System.Boolean
|
NewDisplayedText
Gets or sets the string that will be visualized.
Declaration
public string NewDisplayedText { get; set; }
Property Value
System.String
|
NewInputValue
Gets or sets the input value that will be set.
Declaration
public string NewInputValue { get; set; }
Property Value
System.String
|
OldDisplayedText
Gets the vsualized text before masking.
Declaration
public string OldDisplayedText { get; }
Property Value
System.String
|
OldInputValue
Gets the input value before masking.
Declaration
public string OldInputValue { get; }
Property Value
System.String
|