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

Provides a way to choose a style for the ResourceGroupHeader based on the data object and the data-bound element.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public abstract class ResourceGroupHeaderStyleSelector

Inheritance: objectResourceGroupHeaderStyleSelector

Derived Classes: OrientedResourceGroupHeaderStyleSelector

Constructors

C#
protected ResourceGroupHeaderStyleSelector()

Methods

Returns a style for the ResourceGroupHeader based on custom logic.

C#
public virtual Style SelectResourceGroupHeaderStyle(IResource resource, GroupHeader groupHeader, Orientation orientation)
Parameters:resourceIResource

The resource.

groupHeaderGroupHeader

The group header.

orientationOrientation

The orientation of the view.

Returns:

Style

Returns an application-specific style to apply; otherwise, null.