Class ExpandCollapseService
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Scheduling
Assembly: Telerik.Windows.Scheduling.Core.dll
Syntax
public sealed class ExpandCollapseService
Constructors
ExpandCollapseService()
Declaration
public ExpandCollapseService()
Properties
HierarchicalCollectionAdapter
Declaration
public IHierarchicalCollectionAdapter<HierarchicalItem> HierarchicalCollectionAdapter { get; set; }
Property Value
IHierarchicalCollectionAdapter<HierarchicalItem>
|
Methods
CollapseItem(Object)
Collapses the children of the provided data item.
Declaration
public bool CollapseItem(object item)
Parameters
System.Object
item
The data item whose children will be collapsed. |
Returns
System.Boolean
|
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
public bool ExpandItem(object item)
Parameters
System.Object
item
The data item whose items will be expanded. |
Returns
System.Boolean
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
public bool ExpandPath(IEnumerable<object> items)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
items
The collection of items to be expanded. |
Returns
System.Boolean
|
ExpandToItem(Object)
Expands the children of the parent items of the provided data item.
Declaration
public bool ExpandToItem(object item)
Parameters
System.Object
item
The data item whose parents will be expanded. |
Returns
System.Boolean
True if the expand was successful; false otherwise. |