Class CollectionViewGroup
A CollectionViewGroup, as created by a CollectionView according to a GroupDescription.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Data
Assembly: OpenSilver.dll
Syntax
public abstract class CollectionViewGroup : INotifyPropertyChanged
Constructors
| Improve this Doc View SourceCollectionViewGroup(Object)
Initializes a new instance of CollectionViewGroup.
Declaration
protected CollectionViewGroup(object name)
Parameters
Type | Name | Description |
---|---|---|
System.Object | name |
Properties
| Improve this Doc View SourceIsBottomLevel
Is this group at the bottom level (not further subgrouped).
Declaration
public abstract bool IsBottomLevel { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ItemCount
The number of data items (leaves) in the subtree under this group.
Declaration
public int ItemCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Items
The immediate children of the group. These may be data items (leaves) or subgroups.
Declaration
public ReadOnlyObservableCollection<object> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyObservableCollection<System.Object> |
Name
The name of the group, i.e. the common value of the property used to divide data items into groups.
Declaration
public object Name { get; }
Property Value
Type | Description |
---|---|
System.Object |
ProtectedItemCount
The number of data items (leaves) in the subtree under this group. Derived classes can change the count using this property; the changes will be reflected in the public ItemCount property.
Declaration
protected int ProtectedItemCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProtectedItems
The items of the group. Derived classes can add or remove items using this property; the changes will be reflected in the public Items property.
Declaration
protected ObservableCollection<object> ProtectedItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.Object> |
Methods
| Improve this Doc View SourceOnPropertyChanged(PropertyChangedEventArgs)
Raises a PropertyChanged event (per System.ComponentModel.INotifyPropertyChanged).
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.PropertyChangedEventArgs | e |
Events
| Improve this Doc View SourcePropertyChanged
PropertyChanged event (per System.ComponentModel.INotifyPropertyChanged).
Declaration
protected virtual event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Explicit Interface Implementations
| Improve this Doc View SourceINotifyPropertyChanged.PropertyChanged
PropertyChanged event (per System.ComponentModel.INotifyPropertyChanged).
Declaration
event PropertyChangedEventHandler INotifyPropertyChanged.PropertyChanged
Returns
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |