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.TimeSpan
|
Methods
CreateGroupNames(DateTime, DateTime)
Generates groups based on the given date range.
Declaration
public void CreateGroupNames(DateTime start, DateTime end)
Parameters
System.DateTime
start
The start date. This is the first group in the group names. |
System.DateTime
end
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.DateTime
start
The start date. This is the first group in the group names. |
System.DateTime
end
The end date. This is the last group in the group names. |
System.Func<System.Object, System.Boolean>
filter
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.DateTime
start
The start date. This is the first group in the group names. |
System.DateTime
end
The end date. This is the last group in the group names. |
System.Func<System.Object, System.Boolean>
filter
The filter function that could filter date generation. |
System.TimeZoneInfo
timeZone
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.Object
item
The item to return group names for. |
System.Int32
level
The level of grouping. |
System.Globalization.CultureInfo
culture
The System.Globalization.CultureInfo to supply to the converter. |
Returns
System.Object
The group name(s) for the given item. |