ClassResourceGroupDescription
Describes the grouping of items using a ResourceTypes as the criteria.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class ResourceGroupDescription : PropertyGroupDescriptionBase, INotifyPropertyChanged, ISupportInitialize
Inheritance: objectCloneableSettingsNodeDescriptionBaseGroupDescriptionBaseGroupDescriptionPropertyGroupDescriptionBaseResourceGroupDescription
Implements:
Inherited Members
Constructors
ResourceGroupDescription()
Initializes a new instance of the ResourceGroupDescription class.
Declaration
public ResourceGroupDescription()
Properties
ResourceType
Gets or sets the ResourceType used for grouping.
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.
Methods
CloneOverride(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneOverride(Cloneable source)
Parameters
source
The object to clone.
Overrides
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
public void CreateGroupNames(SchedulerBase scheduler)
Parameters
scheduler
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
protected override Cloneable CreateInstanceCore()
Returns
New instance for cloning.
Overrides
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.