IVsLiteTree Interface

Definition

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

[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("C4158C7D-5052-48D9-8643-7A821BB0F50B")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsLiteTree
Attributes

Methods

AdviseTreeEvents(IVsLiteTreeEvents, UInt32)

Registers an IVsLiteTreeEvents interface and thus adds an events listener to the listener list.

CloneTreeAbsolute(UInt32, IVsLiteTree)

Clones the tree structure starting a specific node.

DelayRedraw(Int32)

Indicates whether or not to redraw the tree.

DeleteItems(IVsLiteTreeList, UInt32, UInt32)

Used to delete specific items without realigning the tree by calling ReAlign(IVsLiteTreeList).

EnableTreeEvents(UInt32, Int32)

Enables reporting of events on the tree.

EnumAbsoluteIndices(IVsLiteTreeList, UInt32, IntPtr, UInt32)

Enumerates the items in a tree list beginning at a particular index.

EnumOrderedListItems(UInt32, IVsLiteTreeList, UInt32, UInt32, UInt32)

Enumerate the complete tree list a sub-tree at a time.

GetDescendantItemCount(UInt32, UInt32)

Returns the number of descendants of a given node.

GetExpandableAbsolute(UInt32, Int32)

Determines whether or not you can expand an item.

GetExpandedAbsolute(UInt32, Int32)

Determines whether an item is expanded.

GetExpandedListAbsolute(UInt32, UInt32, IVsLiteTreeList)

Returns the expanded list at the given index, if any.

GetInitFlags(UInt32)

Retrieves the tree list options.

GetItemInfoAbsolute(UInt32, IVsLiteTreeList, UInt32, UInt32)

Retrieves the parent list of a node.

GetOffsetFromParent(UInt32, UInt32, UInt32)

Returns the offset between the index of a parent node and a relative index.

GetParentIndexAbsolute(UInt32, UInt32)

Gets the next visible expanded list.

Init(UInt32)

Initializes the tree using specified options.

InsertItems(IVsLiteTreeList, UInt32, UInt32)

Insert items without performing realignment.

QueryItemVisible(UInt32, Int32)

Indicates whether an item is visible.

ReAlign(IVsLiteTreeList)

Realign part of the list designated by an IVsLiteTreeList instance.

Refresh()

Refresh the tree by calling Microsoft.VisualStudio.ManagedInterfaces.Publish.IPublishProperties.UpdateRequired as necessary.

SetRedraw(Int32)

Set or reset redrawing of the tree list.

SetRoot(IVsLiteTreeList, IVsLiteTree)

Sets the root object of the tree.

ToggleExpansionAbsolute(UInt32, Int32, Int32)

Expands an item by selected by absolute index.

ToggleStateAbsolute(UInt32, UInt32)

Toggles the state of an item. An item may have more than two states.

UnadviseTreeEvents(UInt32)

Unregisters an IVsLiteTreeEvents interface and thus removes an events listener from the list.

VisibleItemCount(UInt32)

Returns the number of items displayed.

Applies to