New to Telerik UI for WinForms? Start a free 30-day trial

Represents a full or abbreviated weekday name.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DateInput.WeekDayNameToken : DateInput.Token

Inheritance: objectDateInput.TokenDateInput.WeekDayNameToken

Inherited Members DateInput.Token.FindIndex(string[], string)DateInput.Token.ToString()DateInput.Token.ParentDateInput.Token.TypeDateInput.Token.Value

Constructors

Creates a weekday-name token associated with the specified parser.

C#
public WeekDayNameToken(string value, DateInput parent)
Parameters:valuestring

The weekday-name text.

parentDateInput

The parser whose culture supplies weekday names.

Methods

Gets the zero-based index of this name in the parser's full or abbreviated weekday-name arrays.

C#
public int GetWeekDayIndex()
Returns:

int

The matching weekday-name index, or -1 when the token is not recognized.