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

Represents a compact numeric date with no separators.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class DateInput.NoSeparatorDateEntry : DateInput.DateEntry

Inheritance: objectDateInput.DateEntryDateInput.NoSeparatorDateEntry

Inherited Members DateInput.DateEntry.ParentDateInput.DateEntry.Type

Constructors

Creates a compact-date entry for the specified token and parser.

C#
public NoSeparatorDateEntry(DateInput.Token token, DateInput parent)
Parameters:tokenDateInput.Token

The token containing six or eight digits.

parentDateInput

The parser whose date format determines the component order.

Methods

Splits the token into date fields and evaluates them using the configured date order.

C#
public override DateTime Evaluate(DateTime date)
Parameters:dateDateTime

The starting date for any components not replaced by the token.

Returns:

DateTime

The resolved date.

Overrides: DateInput.DateEntry.Evaluate(DateTime)

Six digits are split into three two-digit fields; eight digits use four digits for the configured year field.