IVsDropdownBar Interface

 

Provides control of the drop-down bar at the top of a code window.

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

[GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")]
[InterfaceTypeAttribute(1)]
public interface IVsDropdownBar

NameDescription
System_CAPS_pubmethodAttach(IntPtr, Int32, IVsDropdownBarClient)

Creates the window and drop-down combination and sets up a link between the drop-down bar and its client.

System_CAPS_pubmethodDetach()

Breaks the link between the dropdown bar and its client.

System_CAPS_pubmethodGetClient(IVsDropdownBarClient)

Returns the client associated with this drop-down bar.

System_CAPS_pubmethodGetCurrentSelection(Int32, Int32)

Returns the entry that is currently selected in a given combination.

System_CAPS_pubmethodRefreshCombo(Int32, Int32)

Force a repaint of a combo, specifying the new selection.

System_CAPS_pubmethodSetCurrentSelection(Int32, Int32)

Sets the current selection in the given drop-down combination

Use IVsDropDownBar to force a refresh of the drop-down bar combination contents or to change the selection of one of the combinations.

Notes to Implementers:

Implement IVsDropdownBar to directly communicate with a drop-down menu bar. To obtain an IVsDropdownBar, see IVsDropdownBarManager.

Return to top
Show: