InterfaceIDataViewCollection
Provides a view over the already computed data from the ItemsSource.
Definition
Namespace:Telerik.Maui.Data
Assembly:Telerik.Maui.Core.dll
Syntax:
public interface IDataViewCollection : IEnumerable
Inherited Members
Properties
IsDataReady
Gets a value indicating whether all the internal data operations are completed and the view may be properly accessed.
Items
Gets the top-level items within the view. These might be either IDataGroup instances or data items if no grouping is applied.
Declaration
IReadOnlyList<object> Items { get; }
Property Value
Methods
CollapseGroup(IDataGroup)
Attempts to collapse the provided IDataGroup instance.
CollapseItem(object)
Collapses the immediate groups that contains the specified item.
ExpandGroup(IDataGroup)
Attempts to expand the provided IDataGroup instance.
ExpandItem(object)
Expands the chain of groups where the specified item resides.
GetGroups(Predicate<IDataGroup>)
Enumerates all the present IDataGroup instances using depth-first approach.
Declaration
IEnumerable<IDataGroup> GetGroups(Predicate<IDataGroup> condition = null)
Parameters
condition
An optional condition that may be used to filter the results.
Returns
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
group
Returns
GetParentGroup(object)
Gets the IDataGroup instance where the specified item resides. Will be null if no grouping is applied or the item does not belong to the ItemsSource.
Declaration
IDataGroup GetParentGroup(object item)
Parameters
item
The data item to search for.
Returns