VirtualTreeViewModel Class TIBCO Spotfire 7.6 API Reference
Base class that represents the model for VirtualTreeView. Provides view nodes and handles state.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Forms.ComponentsVirtualTreeViewModel

Namespace: Spotfire.Dxp.Forms.Components
Assembly: Spotfire.Dxp.Forms (in Spotfire.Dxp.Forms.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public abstract class VirtualTreeViewModel

The VirtualTreeViewModel type exposes the following members.

Constructors

  NameDescription
Protected methodVirtualTreeViewModel
Initializes a new instance of the VirtualTreeViewModel class.
Protected methodVirtualTreeViewModel(IEqualityComparerVirtualTreeViewNode)
Initializes a new instance of the VirtualTreeViewModel class.
Top
Methods

  NameDescription
Public methodCheckAll
Checks all.
Protected methodCheckAllCore
Checks all.
Public methodCollapse
Collapses the node at specified index.
Protected methodCollapseCore
Collapses the node at specified index.
Public methodExpand
Expands the node at specified index.
Protected methodExpandCore
Expands the node at specified index.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHasCheckBoxesCore
If true checkboxes will be displayed next to nodes. Models that return true are expected to override SetCheckedCore(Int32, Boolean), CheckAllCore and UncheckOthersCore(Int32).
Protected methodIsMultiSelectCore
If true the model is expected to support multiple selections and use the SelectedIndexes property instead of SelectedIndex
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnSelectionChangedCore
Called after the selection has changed.
Protected methodOnUpdated
Raises the Updated event.
Public methodSetChecked
Checks or unchecks the node at the specified index.
Protected methodSetCheckedCore
Checks or unchecks the node at the specified index.
Public methodUncheckOthers
Unchecks all nodes except specified index.
Protected methodUncheckOthersCore
Unchecks all nodes except specified index.
Top
Properties

  NameDescription
Public propertyHasCheckBoxes
Gets a value indicating whether checkboxes should be displayed next to nodes.
Public propertyIsMultiSelect
Gets a value indicating whether this model supports multi select.
Public propertySelectedIndex
Gets or sets the selected index. -1 indicates no selection.
Public propertySelectedIndexes
Gets or sets the selected indices. An empty index set indicates no selection.
Public propertyViewNodes
Gets or sets the view nodes.
Top
Events

  NameDescription
Public eventUpdated
Occurs when the model gets updated.
Top
Version Information

Supported in: 7.6, 7.5
See Also

Reference