Class Group
Inheritance
System.Object
Group
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class Group : INotifyPropertyChanged
Properties
Children
Declaration
public ObservableCollection<ChildGroup> Children { get; }
Property Value
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
Methods
CreateGroup(Group, Row, Row)
Declaration
public abstract ChildGroup CreateGroup(Group parent, Row first, Row next)
Parameters
Returns
Expand(Int32)
Declaration
public void Expand(int depth)
Parameters
Type |
Name |
Description |
System.Int32 |
depth |
|
Declaration
public IEnumerable<ChildGroup> GetAncestorsStrict(Group ancestor)
Parameters
Type |
Name |
Description |
Group |
ancestor |
|
Returns
GetGroups(Predicate<ChildGroup>)
Declaration
public IEnumerable<ChildGroup> GetGroups(Predicate<ChildGroup> predicate)
Parameters
Type |
Name |
Description |
Predicate<ChildGroup> |
predicate |
|
Returns
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 |
|