Class
ExpandCollapseService

Definition

Namespace:Telerik.Windows.Controls.Scheduling

Assembly:Telerik.Windows.Scheduling.Core.dll

Syntax:

cs-api-definition
public sealed class ExpandCollapseService

Inheritance: objectExpandCollapseService

Constructors

ExpandCollapseService()

Declaration

cs-api-definition
public ExpandCollapseService()

Properties

HierarchicalCollectionAdapter

Declaration

cs-api-definition
public IHierarchicalCollectionAdapter<HierarchicalItem> HierarchicalCollectionAdapter { get; set; }

Property Value

IHierarchicalCollectionAdapter<HierarchicalItem>

Methods

CollapseItem(object)

Collapses the children of the provided data item.

Declaration

cs-api-definition
public bool CollapseItem(object item)

Parameters

item

object

The data item whose children will be collapsed.

Returns

bool

ExpandItem(object)

Expands the children of the provided data item to make them available. If the item doesn't have any children this method will return false.

Declaration

cs-api-definition
public bool ExpandItem(object item)

Parameters

item

object

The data item whose items will be expanded.

Returns

bool

True if the expand was successful; false otherwise.

ExpandPath(IEnumerable<object>)

Expands multiple items to make their children available by giving a collections of data items.

Declaration

cs-api-definition
public bool ExpandPath(IEnumerable<object> items)

Parameters

items

IEnumerable<object>

The collection of items to be expanded.

Returns

bool

ExpandToItem(object)

Expands the children of the parent items of the provided data item.

Declaration

cs-api-definition
public bool ExpandToItem(object item)

Parameters

item

object

The data item whose parents will be expanded.

Returns

bool

True if the expand was successful; false otherwise.