Show / Hide Table of Contents

Class Group

Inheritance
System.Object
Group
ChildGroup
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class Group : INotifyPropertyChanged

Properties

Children

Declaration
public ObservableCollection<ChildGroup> Children { get; }
Property Value
Type Description
ObservableCollection<ChildGroup>

Depth

Declaration
public abstract int Depth { get; }
Property Value
Type Description
System.Int32

MaxDepth

Declaration
public int MaxDepth { get; }
Property Value
Type Description
System.Int32

TopParent

Declaration
protected Group TopParent { get; }
Property Value
Type Description
Group

Methods

CreateGroup(Group, Row, Row)

Declaration
public abstract ChildGroup CreateGroup(Group parent, Row first, Row next)
Parameters
Type Name Description
Group parent
Row first
Row next
Returns
Type Description
ChildGroup

Expand(Int32)

Declaration
public void Expand(int depth)
Parameters
Type Name Description
System.Int32 depth

GetAncestorsStrict(Group)

Declaration
public IEnumerable<ChildGroup> GetAncestorsStrict(Group ancestor)
Parameters
Type Name Description
Group ancestor
Returns
Type Description
IEnumerable<ChildGroup>

GetGroups(Predicate<ChildGroup>)

Declaration
public IEnumerable<ChildGroup> GetGroups(Predicate<ChildGroup> predicate)
Parameters
Type Name Description
Predicate<ChildGroup> predicate
Returns
Type Description
IEnumerable<ChildGroup>

IsDescendantOf(Group)

Declaration
public abstract bool IsDescendantOf(Group ancestor)
Parameters
Type Name Description
Group ancestor
Returns
Type Description
System.Boolean

NotifyPropertyChanged(String)

Declaration
protected void NotifyPropertyChanged(string propertyName)
Parameters
Type Name Description
System.String propertyName

UngroupNoChild(Row, Row)

Declaration
protected abstract void UngroupNoChild(Row first, Row next)
Parameters
Type Name Description
Row first
Row next

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
PropertyChangedEventHandler
Back to top Generated by DocFX