C# Class DatabaseManager.TreeViewItemViewModel

Base class for all ViewModel classes displayed by TreeViewItems. This acts as an adapter between a raw data object and a TreeViewItem.
Inheritance: INotifyPropertyChanged
Datei anzeigen Open project: VelocityDB/VelocityDB Class Usage Examples

Protected Methods

Method Description
LoadChildren ( ) : void

Invoked when the child items need to be loaded on demand. Subclasses can override this to populate the Children collection.

OnPropertyChanged ( string propertyName ) : void
TreeViewItemViewModel ( TreeViewItemViewModel parent, bool lazyLoadChildren ) : System

Private Methods

Method Description
TreeViewItemViewModel ( ) : System

Method Details

LoadChildren() protected method

Invoked when the child items need to be loaded on demand. Subclasses can override this to populate the Children collection.
protected LoadChildren ( ) : void
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

TreeViewItemViewModel() protected method

protected TreeViewItemViewModel ( TreeViewItemViewModel parent, bool lazyLoadChildren ) : System
parent TreeViewItemViewModel
lazyLoadChildren bool
return System