Class
InitialExpandBehavior

Represents a behavior of expand by default functionality in hierarchical controls.

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

cs-api-definition
public class InitialExpandBehavior : IInitialExpandBehavior

Inheritance: objectInitialExpandBehavior

Implements: IInitialExpandBehavior

Constructors

InitialExpandBehavior()

Initializes a new instance of the InitialExpandBehavior class.

Declaration

cs-api-definition
public InitialExpandBehavior()

Properties

ExpandToLevel

Declaration

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

Property Value

int

Methods

ShouldExpandItemByDefault(HierarchicalItem)

Gets the value specifying whether the HierarchicalItem should be expanded by default.

Declaration

cs-api-definition
public virtual bool ShouldExpandItemByDefault(HierarchicalItem item)

Parameters

item

HierarchicalItem

HierarchicalItem identifying the current item to be used.

Returns

bool

True when hierarchical item should be expanded by default, otherwise false.

Implements IInitialExpandBehavior.ShouldExpandItemByDefault(HierarchicalItem)