共用方式為


IVsLiteTreeEvents Members

Include Protected Members
Include Inherited Members

Defines the events of the lightweight tree control. Used as an argument in the AdviseTreeEvents method of the IVsLiteTree interface.

The IVsLiteTreeEvents type exposes the following members.

Methods

  Name Description
Public method OnDeleteItems Counts items that have been deleted starting with iStart.
Public method OnInsertItems Counts items that have been inserted after iAfter.
Public method OnQueryItemVisible Checks whether specified item is visible.
Public method OnRefresh The list has been refreshed (update count, window, current selection).
Public method OnSetRedraw Turns redraw on/off.
Public method OnToggleExpansion Called when an item enters or leaves the expanded state.
Public method OnToggleState Called when an icon changes state.

Top

See Also

Reference

IVsLiteTreeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace