Class LayoutGroupBase
Provides a minimal implementation for a layout model that can inform subscribers via event if and when their children collection or tree of children has changed.
[Serializable]
public abstract class LayoutGroupBase : LayoutElement, ILayoutElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
LayoutGroupBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Methods
NotifyChildrenTreeChanged(ChildrenTreeChange)
protected void NotifyChildrenTreeChanged(ChildrenTreeChange change)
Parameters
change
ChildrenTreeChange
OnChildrenCollectionChanged()
Raise an event to inform supscribers that the children collection down the tree of this object has changed.
protected virtual void OnChildrenCollectionChanged()
OnChildrenTreeChanged(ChildrenTreeChange)
Provides an opportuntiy for inheriting classes to execute custom code when the ChildrenTreeChange event is raised.
protected virtual void OnChildrenTreeChanged(ChildrenTreeChange change)
Parameters
change
ChildrenTreeChange
Events
ChildrenCollectionChanged
Raise an event to inform supscribers that the children collection down the tree of this object has changed.
public event EventHandler ChildrenCollectionChanged
Event Type
ChildrenTreeChanged
Implements an event to make parents update their children up the tree. Otherwise, they will not be redrawn.
public event EventHandler<ChildrenTreeChangedEventArgs> ChildrenTreeChanged