IDataViewCollection
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
Gets a value indicating whether all the internal data operations are completed and the view may be properly accessed.
bool IsDataReady { get; }
Gets the top-level items within the view. These might be either IDataGroup instances or data items if no grouping is applied.
IReadOnlyList<object> Items { get; }
Methods
Collapses all the groups.
void CollapseAll()
Attempts to collapse the provided IDataGroup instance.
Collapses the immediate groups that contains the specified item.
Expands all the groups.
void ExpandAll()
Attempts to expand the provided IDataGroup instance.
Expands the chain of groups where the specified item resides.
Enumerates all the present IDataGroup instances using depth-first approach.
IEnumerable<IDataGroup> GetGroups(Predicate<IDataGroup> condition = null)
An optional condition that may be used to filter the results.
Returns:Determines whether the provided group is considered "Expanded" - that is to have its ChildItems available - within the UI.
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.