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
Afficher le fichier Open project: VelocityDB/VelocityDB Class Usage Examples

Méthodes protégées

Méthode 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

Méthode Description
TreeViewItemViewModel ( ) : System

Method Details

LoadChildren() protected méthode

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

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName ) : void
propertyName string
Résultat void

TreeViewItemViewModel() protected méthode

protected TreeViewItemViewModel ( TreeViewItemViewModel parent, bool lazyLoadChildren ) : System
parent TreeViewItemViewModel
lazyLoadChildren bool
Résultat System