Class
DateGroupDescription

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

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DateGroupDescription : PropertyGroupDescriptionBase, INotifyPropertyChanged, ISupportInitialize

Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescriptionPropertyGroupDescriptionBaseDateGroupDescription

Implements: INotifyPropertyChangedISupportInitialize

Inherited Members PropertyGroupDescriptionBase.GetAllNames(IEnumerable<object>, IEnumerable<object>)PropertyGroupDescriptionBase.CloneCore(Cloneable)GroupDescription.LevelCountGroupDescription.ShowGroupsWithNoDataGroupDescription.GroupFilterGroupDescriptionBase.SortOrderDescriptionBase.GetMemberName()DescriptionBase.GetDisplayName()DescriptionBase.DisplayNameDescriptionBase.CustomNameDescriptionBase.PropertyNameSettingsNode.BeginEdit()SettingsNode.BeginInit()SettingsNode.EndInit()SettingsNode.NotifyChange(SettingsChangedEventArgs)SettingsNode.RemoveSettingsChild(SettingsNode)SettingsNode.AddSettingsChild(SettingsNode)SettingsNode.OnSettingsChanged(SettingsChangedEventArgs)SettingsNode.OnPropertyChanged(string)SettingsNode.ParentSettingsNode.SettingsChangedSettingsNode.PropertyChangedCloneable.Clone()

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

CloneOverride(Cloneable)

Makes the instance a clone (deep copy) of the specified Cloneable.

Declaration

cs-api-definition
protected override void CloneOverride(Cloneable source)

Parameters

source

Cloneable

The object to clone.

Overrides PropertyGroupDescriptionBase.CloneOverride(Cloneable)

Remarks

Notes to Inheritors If you derive from Cloneable, you need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).

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.

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Cloneable derived class.

Declaration

cs-api-definition
protected override Cloneable CreateInstanceCore()

Returns

Cloneable

New instance for cloning.

Overrides Cloneable.CreateInstanceCore()

Remarks

Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.

GroupNameFromItem(object, int)

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

Declaration

cs-api-definition
protected override object GroupNameFromItem(object item, int level)

Parameters

item

object

The item to return group names for.

level

int

The level of grouping.

Returns

object

The group name(s) for the given item.

Overrides PropertyGroupDescriptionBase.GroupNameFromItem(object, int)