IVsLiteTree Interface

Represents a lightweight tree control. Used, for example, in the Object Browser and Find Symbol dialogs.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsLiteTree

The IVsLiteTree type exposes the following members.

Public methodAdviseTreeEventsRegisters an IVsLiteTreeEvents interface and thus adds an events listener to the listener list.
Public methodCloneTreeAbsoluteClones the tree structure starting a specific node.
Public methodDelayRedrawIndicates whether or not to redraw the tree.
Public methodDeleteItemsUsed to delete specific items without realigning the tree by calling ReAlign.
Public methodEnableTreeEventsEnables reporting of events on the tree.
Public methodEnumAbsoluteIndicesEnumerates the items in a tree list beginning at a particular index.
Public methodEnumOrderedListItemsEnumerate the complete tree list a sub-tree at a time.
Public methodGetDescendantItemCountReturns the number of descendants of a given node.
Public methodGetExpandableAbsoluteDetermines whether or not you can expand an item.
Public methodGetExpandedAbsoluteDetermines whether an item is expanded.
Public methodGetExpandedListAbsoluteReturns the expanded list at the given index, if any.
Public methodGetInitFlagsRetrieves the tree list options.
Public methodGetItemInfoAbsoluteRetrieves the parent list of a node.
Public methodGetOffsetFromParentReturns the offset between the index of a parent node and a relative index.
Public methodGetParentIndexAbsoluteGets the next visible expanded list.
Public methodInitInitializes the tree using specified options.
Public methodInsertItemsInsert items without performing realignment.
Public methodQueryItemVisibleIndicates whether an item is visible.
Public methodReAlignRealign part of the list designated by an IVsLiteTreeList instance.
Public methodRefreshRefresh the tree by calling UpdateRequired as necessary.
Public methodSetRedrawSet or reset redrawing of the tree list.
Public methodSetRootSets the root object of the tree.
Public methodToggleExpansionAbsoluteExpands an item by selected by absolute index.
Public methodToggleStateAbsoluteToggles the state of an item. An item may have more than two states.
Public methodUnadviseTreeEventsUnregisters an IVsLiteTreeEvents interface and thus removes an events listener from the list.
Public methodVisibleItemCountReturns the number of items displayed.

Community Additions