New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class ResourceGroupDescription : GroupDescription

Inheritance: objectResourceGroupDescription

Constructors

Initializes a new instance of the ResourceGroupDescription class.

C#
public ResourceGroupDescription()

Properties

Gets or sets the ResourceType used for grouping.

C#
public string ResourceType { get; set; }

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.

C#
public bool ShowNullGroup { get; set; }

Methods

Generates groups based on the given ResourceType.

C#
public void CreateGroupNames(ScheduleViewBase scheduleView)
Parameters:scheduleViewScheduleViewBase

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

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

C#
public override object GroupNameFromItem(object item, int level, CultureInfo culture)
Parameters:itemobject

The item to return group names for.

levelint

The level of grouping.

cultureCultureInfo

The System.Globalization.CultureInfo to supply to the converter.

Returns:

object

The group name(s) for the given item.