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)

Syntax

'Declaration
<GuidAttribute("C4158C7D-5052-48D9-8643-7A821BB0F50B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsLiteTree
[GuidAttribute("C4158C7D-5052-48D9-8643-7A821BB0F50B")]
[InterfaceTypeAttribute()]
public interface IVsLiteTree
[GuidAttribute(L"C4158C7D-5052-48D9-8643-7A821BB0F50B")]
[InterfaceTypeAttribute()]
public interface class IVsLiteTree
[<GuidAttribute("C4158C7D-5052-48D9-8643-7A821BB0F50B")>]
[<InterfaceTypeAttribute()>]
type IVsLiteTree =  interface end
public interface IVsLiteTree

The IVsLiteTree type exposes the following members.

Methods

  Name Description
Public method AdviseTreeEvents Registers an IVsLiteTreeEvents interface and thus adds an events listener to the listener list.
Public method CloneTreeAbsolute Clones the tree structure starting a specific node.
Public method DelayRedraw Indicates whether or not to redraw the tree.
Public method DeleteItems Used to delete specific items without realigning the tree by calling ReAlign.
Public method EnableTreeEvents Enables reporting of events on the tree.
Public method EnumAbsoluteIndices Enumerates the items in a tree list beginning at a particular index.
Public method EnumOrderedListItems Enumerate the complete tree list a sub-tree at a time.
Public method GetDescendantItemCount Returns the number of descendants of a given node.
Public method GetExpandableAbsolute Determines whether or not you can expand an item.
Public method GetExpandedAbsolute Determines whether an item is expanded.
Public method GetExpandedListAbsolute Returns the expanded list at the given index, if any.
Public method GetInitFlags Retrieves the tree list options.
Public method GetItemInfoAbsolute Retrieves the parent list of a node.
Public method GetOffsetFromParent Returns the offset between the index of a parent node and a relative index.
Public method GetParentIndexAbsolute Gets the next visible expanded list.
Public method Init Initializes the tree using specified options.
Public method InsertItems Insert items without performing realignment.
Public method QueryItemVisible Indicates whether an item is visible.
Public method ReAlign Realign part of the list designated by an IVsLiteTreeList instance.
Public method Refresh Refresh the tree by calling UpdateRequired as necessary.
Public method SetRedraw Set or reset redrawing of the tree list.
Public method SetRoot Sets the root object of the tree.
Public method ToggleExpansionAbsolute Expands an item by selected by absolute index.
Public method ToggleStateAbsolute Toggles the state of an item. An item may have more than two states.
Public method UnadviseTreeEvents Unregisters an IVsLiteTreeEvents interface and thus removes an events listener from the list.
Public method VisibleItemCount Returns the number of items displayed.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace