Class
DateGroupDescription

Describes the grouping of items using a date range as the criteria.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class DateGroupDescription : GroupDescription

Inheritance: objectDateGroupDescription

Constructors

DateGroupDescription()

Declaration

cs-api-definition
public DateGroupDescription()

Properties

GroupLength

Gets the duration of the group descriptor.

Declaration

cs-api-definition
public virtual TimeSpan GroupLength { get; }

Property Value

TimeSpan

Methods

CreateGroupNames(DateTime, DateTime)

Generates groups based on the given date range.

Declaration

cs-api-definition
public void CreateGroupNames(DateTime start, DateTime end)

Parameters

start

DateTime

The start date. This is the first group in the group names.

end

DateTime

The end date. This is the last group in the group names.

CreateGroupNames(DateTime, DateTime, Func<object, bool>)

Generates groups based on the given date range and filter.

Declaration

cs-api-definition
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter)

Parameters

start

DateTime

The start date. This is the first group in the group names.

end

DateTime

The end date. This is the last group in the group names.

filter

Func<object, bool>

The filter function that could filter date generation.

CreateGroupNames(DateTime, DateTime, Func<object, bool>, TimeZoneInfo)

Generates groups based on the given date range and filter.

Declaration

cs-api-definition
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter, TimeZoneInfo timeZone)

Parameters

start

DateTime

The start date. This is the first group in the group names.

end

DateTime

The end date. This is the last group in the group names.

filter

Func<object, bool>

The filter function that could filter date generation.

timeZone

TimeZoneInfo

The time zone.

GroupNameFromItem(object, int, CultureInfo)

Returns the group name(s) for the given item.

Declaration

cs-api-definition
public override object GroupNameFromItem(object item, int level, CultureInfo culture)

Parameters

item

object

The item to return group names for.

level

int

The level of grouping.

culture

CultureInfo

The System.Globalization.CultureInfo to supply to the converter.

Returns

object

The group name(s) for the given item.