Interface IDataViewCollection
Provides a view over the already computed data from the ItemsSource.
Namespace: Telerik.Maui.Data
Assembly: Telerik.Maui.Core.dll
Syntax
public interface IDataViewCollection : IEnumerable
Properties
IsDataReady
Gets a value indicating whether all the internal data operations are completed and the view may be properly accessed.
Declaration
bool IsDataReady { get; }
Property Value
System.
|
Items
Gets the top-level items within the view. These might be either IData
Declaration
IReadOnlyList<object> Items { get; }
Property Value
System.
|
Methods
CollapseAll()
Collapses all the groups.
Declaration
void CollapseAll()
CollapseGroup(IDataGroup)
Attempts to collapse the provided IData
Declaration
void CollapseGroup(IDataGroup group)
Parameters
IData
|
CollapseItem(Object)
Collapses the immediate groups that contains the specified item.
Declaration
void CollapseItem(object item)
Parameters
System.
|
ExpandAll()
Expands all the groups.
Declaration
void ExpandAll()
ExpandGroup(IDataGroup)
Attempts to expand the provided IData
Declaration
void ExpandGroup(IDataGroup group)
Parameters
IData
|
ExpandItem(Object)
Expands the chain of groups where the specified item resides.
Declaration
void ExpandItem(object item)
Parameters
System.
|
GetGroups(Predicate<IDataGroup>)
Enumerates all the present IDataGroup instances using depth-first approach.
Declaration
IEnumerable<IDataGroup> GetGroups(Predicate<IDataGroup> condition = null)
Parameters
System. An optional condition that may be used to filter the results. |
Returns
System.
|
GetIsExpanded(IDataGroup)
Determines whether the provided group is considered "Expanded" - that is to have its ChildItems available - within the UI.
Declaration
bool GetIsExpanded(IDataGroup group)
Parameters
IData
|
Returns
System.
|
GetParentGroup(Object)
Gets the IData
Declaration
IDataGroup GetParentGroup(object item)
Parameters
System. The data item to search for. |