Class Separator
Represents a delimiter in a masked input text.
Inheritance
Namespace: Telerik.Windows.Controls.MaskedInput
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
public class Separator : Object
Constructors
Separator(String, Boolean)
Initializes a new instance of the Separator class.
Declaration
public Separator(string token, bool isReplaceable)
Parameters
System.String
token
Token of the separator. |
System.Boolean
isReplaceable
True if separator can be replaced. |
Separator(String, Boolean, Boolean)
Initializes a new instance of the Separator class.
Declaration
public Separator(string token, bool isReplaceable, bool isRequired)
Parameters
System.String
token
Token of the separator. |
System.Boolean
isReplaceable
True if separator can be replaced. |
System.Boolean
isRequired
True if separator is required. |
Properties
IsReplaceable
Gets a value indicating whether Separator is replaceable or not.
Declaration
public bool IsReplaceable { get; }
Property Value
System.Boolean
|
IsRequired
Gets a value indicating whether Separator is required or not.
Declaration
public bool IsRequired { get; }
Property Value
System.Boolean
|
Remarks
If true, the separator will not be removed when trimming the text.
Length
Gets the length of the Separator.
Declaration
public int Length { get; }
Property Value
System.Int32
|
Token
Gets the token of the Separator.
Declaration
public string Token { get; }
Property Value
System.String
|