The TreeViewItemViewModel type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| TreeViewItemViewModel |
Initializes a new instance of the TreeViewItemViewModel class.
|
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
| InitData |
Initializes data when lazy loading is enabled
| |
| LoadChildren |
Invoked when the child items need to be loaded on demand.
Subclasses can override this to populate the Children collection.
| |
Creates a shallow copy of the current (Inherited from | ||
| OnPropertyChanged |
Base property changed implementation using standard pattern.
| |
| OnSelectedItemChanged |
Base selected item method, used to bubble up to all objects related to the selected item
| |
| RemoveDummyChild |
Internal method to allow parents to force loading when lazy loading is enabled under certain conditions.
| |
Returns a string that represents the current object. (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| Children |
Returns the logical child items of this object.
| |
| DisplayName |
Gets or sets the UI display name of the model
| |
| HasDummyChild |
Returns true if this object's Children have not yet been populated.
| |
| IsDirty |
Gets or sets a value indicating whether the TreeViewItem
associated with this object is selected.
| |
| IsExpanded |
Gets/sets whether the TreeViewItem
associated with this object is expanded.
| |
| IsSelected |
Gets or sets a value indicating whether the TreeViewItem
associated with this object is selected.
| |
| Object |
Gets the data object instance managed by the model
| |
| ObjectType |
Gets the type of the data object managed by the model
| |
| Parent |
Gets the parent view model instance
| |
| ToolTip |
Gets or sets the UI tool tip of the model
| |
| TreeParent |
Get's the parent model instance as a Tree object if relevant
|
Events
| Name | Description | |
|---|---|---|
| PropertyChanged |
Event hook for property change events.
|
See Also