Class
Separator

Represents a delimiter in a masked input text.

Definition

Namespace:Telerik.Windows.Controls.MaskedInput

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public class Separator

Inheritance: objectSeparator

Constructors

Separator(string, bool)

Initializes a new instance of the Separator class.

Declaration

cs-api-definition
public Separator(string token, bool isReplaceable)

Parameters

token

string

Token of the separator.

isReplaceable

bool

True if separator can be replaced.

Separator(string, bool, bool)

Initializes a new instance of the Separator class.

Declaration

cs-api-definition
public Separator(string token, bool isReplaceable, bool isRequired)

Parameters

token

string

Token of the separator.

isReplaceable

bool

True if separator can be replaced.

isRequired

bool

True if separator is required.

Properties

IsReplaceable

Gets a value indicating whether Separator is replaceable or not.

Declaration

cs-api-definition
public bool IsReplaceable { get; }

Property Value

bool

IsRequired

Gets a value indicating whether Separator is required or not.

Declaration

cs-api-definition
public bool IsRequired { get; }

Property Value

bool

Remarks

If true, the separator will not be removed when trimming the text.

Length

Gets the length of the Separator.

Declaration

cs-api-definition
public int Length { get; }

Property Value

int

Token

Gets the token of the Separator.

Declaration

cs-api-definition
public string Token { get; }

Property Value

string