ClassDateGroupDescription
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
DateGroupDescription()
Declaration
public DateGroupDescription()
Properties
GroupLength
Gets the duration of the group descriptor.
Methods
CreateGroupNames(DateTime, DateTime)
Generates groups based on the given date range.
CreateGroupNames(DateTime, DateTime, Func<object, bool>)
Generates groups based on the given date range and filter.
Declaration
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter)
Parameters
start
The start date. This is the first group in the group names.
end
The end date. This is the last group in the group names.
filter
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
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter, TimeZoneInfo timeZone)
Parameters
start
The start date. This is the first group in the group names.
end
The end date. This is the last group in the group names.
filter
The filter function that could filter date generation.
timeZone
The time zone.
GroupNameFromItem(object, int, CultureInfo)
Returns the group name(s) for the given item.
Declaration
public override object GroupNameFromItem(object item, int level, CultureInfo culture)
Parameters
item
The item to return group names for.
level
The level of grouping.
culture
The System.Globalization.CultureInfo to supply to the converter.
Returns
The group name(s) for the given item.