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

Specify the expanded state of IGroups.

Definition

Namespace:Telerik.WinControls.UI.PivotGrid

Assembly:Telerik.WinControls.PivotGrid.dll

Syntax:

C#
public class GroupsExpandBehavior : IItemExpandBehavior<ExpandBehaviorParameters>

Inheritance: objectGroupsExpandBehavior

Implements: IItemExpandBehavior<ExpandBehaviorParameters>

Constructors

Initializes a new instance of the GroupsExpandBehavior class.

C#
public GroupsExpandBehavior()

Properties

Specify the default state for IGroups up to given UpToLevel (excluding). The default is true. When true groups up to the set level are expanded, all groups with level greater than or equal are collapsed. When false groups up to the set level are collapsed, all groups with level greater than or equal are expanded.

C#
public bool Expanded { get; set; }

Specify the default state for IGroups up to given level (excluding). The default is MaxValue

C#
public int UpToLevel { get; set; }

Methods

Gets if item is expanded.

C#
public bool IsExpanded(ExpandBehaviorParameters parameter)
Parameters:parameterExpandBehaviorParameters

The item which expanded state will be queried.

Returns:

bool

True if item is expanded, otherwise false.

Implements: IItemExpandBehavior<ExpandBehaviorParameters>.IsExpanded(ExpandBehaviorParameters)