Defines the base requirements for a managed view over a collection.
- Type Parameters:
-
T
-
Remarks
This experimental interface is subject to breaking changes and should only be used in conjunction with Actipro controls in the manner directed.
Properties
Filter
A filter used to determine which items are included in the view.
Property Value
- Predicate<T>
Groups
The groups of items including by the view of this collection.
Property Value
HasFilter
Indicates if the view has defined a filter.
Property Value
HasGroups
Indicates if the view has defined any groups.
Property Value
Methods
GetGroupNames(bool)
Gets the name of the available groups, optionally included groups that are excluded by the current filter.
Parameter | Type | Description |
---|---|---|
ignoreFilter | bool | When |
Returns
Refresh()
Refreshes the view.
ResolveGroupName(T)
Resolves the group name, if any, that applies to the given item.
Parameter | Type | Description |
---|---|---|
item | T | The item to examine. |
Returns
- string:
The group name, or
null
if a group name is not available.