Class
ResourceGroupDescription

Describes the grouping of items using a ResourceTypes as the criteria.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

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

Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescriptionPropertyGroupDescriptionBaseResourceGroupDescription

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

ResourceGroupDescription()

Initializes a new instance of the ResourceGroupDescription class.

Declaration

cs-api-definition
public ResourceGroupDescription()

Properties

ResourceType

Gets or sets the ResourceType used for grouping.

Declaration

cs-api-definition
public string ResourceType { get; set; }

Property Value

string

ShowNullGroup

Gets or sets whether Null group will be generated and visible or not. Null group contains appointments that are not in any other group in the same level.

Declaration

cs-api-definition
public bool ShowNullGroup { get; set; }

Property Value

bool

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(SchedulerBase)

Generates groups based on the given ResourceType.

Declaration

cs-api-definition
public void CreateGroupNames(SchedulerBase scheduler)

Parameters

scheduler

SchedulerBase

The schedule view that is used to get the ResourceTypes and GroupFilter.

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)