Class DateGroupDescription
Describes the grouping of items using a date range as the criteria.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class DateGroupDescription : GroupDescription
Constructors
DateGroupDescription()
Declaration
public DateGroupDescription()
Properties
GroupLength
Gets the duration of the group descriptor.
Declaration
public virtual TimeSpan GroupLength { get; }
Property Value
System.
|
Methods
CreateGroupNames(DateTime, DateTime)
Generates groups based on the given date range.
Declaration
public void CreateGroupNames(DateTime start, DateTime end)
Parameters
System. The start date. This is the first group in the group names. |
System. The end date. This is the last group in the group names. |
CreateGroupNames(DateTime, DateTime, Func<Object, Boolean>)
Generates groups based on the given date range and filter.
Declaration
public void CreateGroupNames(DateTime start, DateTime end, Func<object, bool> filter)
Parameters
System. The start date. This is the first group in the group names. |
System. The end date. This is the last group in the group names. |
System. The filter function that could filter date generation. |
CreateGroupNames(DateTime, DateTime, Func<Object, Boolean>, 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
System. The start date. This is the first group in the group names. |
System. The end date. This is the last group in the group names. |
System. The filter function that could filter date generation. |
System. The time zone. |
GroupNameFromItem(Object, Int32, CultureInfo)
Returns the group name(s) for the given item.
Declaration
public override object GroupNameFromItem(object item, int level, CultureInfo culture)
Parameters
System. The item to return group names for. |
System. The level of grouping. |
System. The System.Globalization.CultureInfo to supply to the converter. |
Returns
System. The group name(s) for the given item. |