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

Assigns parsed tokens to culture-specific date fields and applies them to a starting date.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DateInput.DateEvaluator

Inheritance: objectDateInput.DateEvaluator

Constructors

Creates an evaluator for the specified date input configuration.

C#
public DateEvaluator(DateInput parent)
Parameters:parentDateInput

The parser whose culture and format determine the date-field slots.

Properties

Gets or sets the token slots used for the configured year, month, and day fields.

C#
public DateInput.Token[] Buckets { get; set; }

Slot positions follow the parser's configured date-field order.

Gets or sets whether the input contains only month and year fields.

C#
public bool MonthYearOnly { get; set; }

When enabled, evaluation uses the starting date's day, clamped to the last day of the target month if necessary.

Gets or sets the parser that supplies date-field order and culture settings.

C#
public DateInput Parent { get; set; }