Class
ResourceGroupDescription

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class ResourceGroupDescription : GroupDescription

Inheritance: objectResourceGroupDescription

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

CreateGroupNames(ScheduleViewBase)

Generates groups based on the given ResourceType.

Declaration

cs-api-definition
public void CreateGroupNames(ScheduleViewBase scheduleView)

Parameters

scheduleView

ScheduleViewBase

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

GroupNameFromItem(object, int, CultureInfo)

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

Declaration

cs-api-definition
public override object GroupNameFromItem(object item, int level, CultureInfo culture)

Parameters

item

object

The item to return group names for.

level

int

The level of grouping.

culture

CultureInfo

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

Returns

object

The group name(s) for the given item.