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:
public class DateGroupDescription : GroupDescription
Inheritance: objectDateGroupDescription
Constructors
public DateGroupDescription()
Properties
Gets the duration of the group descriptor.
public virtual TimeSpan GroupLength { get; }
Methods
Generates groups based on the given date range and filter.
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter, TimeZoneInfo timeZone)
The start date. This is the first group in the group names.
endDateTimeThe end date. This is the last group in the group names.
filterFunc<object, bool>The filter function that could filter date generation.
timeZoneTimeZoneInfoThe time zone.
Generates groups based on the given date range and filter.
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter)
The start date. This is the first group in the group names.
endDateTimeThe end date. This is the last group in the group names.
filterFunc<object, bool>The filter function that could filter date generation.
Returns the group name(s) for the given item.
public override object GroupNameFromItem(object item, int level, CultureInfo culture)
The item to return group names for.
levelintThe level of grouping.
cultureCultureInfoThe System.Globalization.CultureInfo to supply to the converter.
Returns:The group name(s) for the given item.