Поделиться через


IVsLiteTreeEvents Interface

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

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("87066898-76AB-45E2-B33C-C5B6B99BB03E")> _
Public Interface IVsLiteTreeEvents
[InterfaceTypeAttribute()]
[GuidAttribute("87066898-76AB-45E2-B33C-C5B6B99BB03E")]
public interface IVsLiteTreeEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"87066898-76AB-45E2-B33C-C5B6B99BB03E")]
public interface class IVsLiteTreeEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("87066898-76AB-45E2-B33C-C5B6B99BB03E")>]
type IVsLiteTreeEvents =  interface end
public interface IVsLiteTreeEvents

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

Microsoft.VisualStudio.Shell.Interop Namespace