Base class that represents the model for
Provides view nodes and handles state.
Inheritance Hierarchy
Spotfire.Dxp.Data.AccessVirtualTreeViewModel
Namespace: Spotfire.Dxp.Data.Access
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
public abstract class VirtualTreeViewModel
The VirtualTreeViewModel type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| VirtualTreeViewModel |
Initializes a new instance of the VirtualTreeViewModel class.
| |
| VirtualTreeViewModel(IEqualityComparerVirtualTreeViewNode) |
Initializes a new instance of the VirtualTreeViewModel class.
|
Methods
| Name | Description | |
|---|---|---|
| CheckAll |
Checks all.
| |
| CheckAllCore |
Checks all.
| |
| Collapse |
Collapses the node at specified index.
| |
| CollapseCore |
Collapses the node at specified index.
| |
| Expand |
Expands the node at specified index.
| |
| ExpandCore |
Expands the node at specified index.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasCheckBoxesCore |
If true checkboxes will be displayed next to nodes.
Models that return true are expected to override SetCheckedCore(Int32, Boolean),
CheckAllCore and UncheckOthersCore(Int32).
| |
| IsMultiSelectCore |
If true the model is expected to support multiple selections
and use the SelectedIndexes property instead of SelectedIndex | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnSelectionChangedCore |
Called after the selection has changed.
| |
| OnUpdated |
Raises the Updated event.
| |
| SetChecked |
Checks or unchecks the node at the specified index.
| |
| SetCheckedCore |
Checks or unchecks the node at the specified index.
| |
| UncheckOthers |
Unchecks all nodes except specified index.
| |
| UncheckOthersCore |
Unchecks all nodes except specified index.
|
Properties
| Name | Description | |
|---|---|---|
| HasCheckBoxes |
Gets a value indicating whether checkboxes should be displayed next to nodes.
| |
| IsMultiSelect |
Gets a value indicating whether this model supports multi select.
| |
| SelectedIndex |
Gets or sets the selected index. -1 indicates no selection.
| |
| SelectedIndexes |
Gets or sets the selected indices. An empty index set indicates no selection.
| |
| ViewNodes |
Gets or sets the view nodes.
|
Events
| Name | Description | |
|---|---|---|
| Updated |
Occurs when the model gets updated.
|
Version Information
See Also