New to Telerik UI for WPFStart a free 30-day trial

Represents a delimiter in a masked input text.

Definition

Namespace:Telerik.Windows.Controls.MaskedInput

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class Separator

Inheritance: objectSeparator

Constructors

Initializes a new instance of the Separator class.

C#
public Separator(string token, bool isReplaceable, bool isRequired)
Parameters:tokenstring

Token of the separator.

isReplaceablebool

True if separator can be replaced.

isRequiredbool

True if separator is required.

Initializes a new instance of the Separator class.

C#
public Separator(string token, bool isReplaceable)
Parameters:tokenstring

Token of the separator.

isReplaceablebool

True if separator can be replaced.

Properties

Gets a value indicating whether Separator is replaceable or not.

C#
public bool IsReplaceable { get; }

Gets a value indicating whether Separator is required or not.

C#
public bool IsRequired { get; }
Remarks:

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

Gets the length of the Separator.

C#
public int Length { get; }

Gets the token of the Separator.

C#
public string Token { get; }