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

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

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

C#
public class InitialExpandBehavior : IInitialExpandBehavior

Inheritance: objectInitialExpandBehavior

Implements: IInitialExpandBehavior

Constructors

Initializes a new instance of the InitialExpandBehavior class.

C#
public InitialExpandBehavior()

Properties

C#
public int ExpandToLevel { get; set; }

Methods

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

C#
public virtual bool ShouldExpandItemByDefault(HierarchicalItem item)
Parameters:itemHierarchicalItem

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)