Class
GroupsExpandBehavior

Specify the expanded state of IGroups.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public class GroupsExpandBehavior : IItemExpandBehavior<ExpandBehaviorParameters>

Inheritance: objectGroupsExpandBehavior

Implements: IItemExpandBehavior<ExpandBehaviorParameters>

Constructors

GroupsExpandBehavior()

Initializes a new instance of the GroupsExpandBehavior class.

Declaration

cs-api-definition
public GroupsExpandBehavior()

Properties

Expanded

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.

Declaration

cs-api-definition
public bool Expanded { get; set; }

Property Value

bool

UpToLevel

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

Declaration

cs-api-definition
public int UpToLevel { get; set; }

Property Value

int

Methods

IsExpanded(ExpandBehaviorParameters)

Gets if item is expanded.

Declaration

cs-api-definition
public bool IsExpanded(ExpandBehaviorParameters parameter)

Parameters

parameter

ExpandBehaviorParameters

The item which expanded state will be queried.

Returns

bool

True if item is expanded, otherwise false.

Implements IItemExpandBehavior<ExpandBehaviorParameters>.IsExpanded(ExpandBehaviorParameters)