Share via


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)

Syntax

'Declaration
<GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsDropdownBar
[GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")]
[InterfaceTypeAttribute()]
public interface IVsDropdownBar
[GuidAttribute(L"D7820968-4CF8-4760-B633-570282E5F66D")]
[InterfaceTypeAttribute()]
public interface class IVsDropdownBar
[<GuidAttribute("D7820968-4CF8-4760-B633-570282E5F66D")>]
[<InterfaceTypeAttribute()>]
type IVsDropdownBar =  interface end
public interface IVsDropdownBar

The IVsDropdownBar type exposes the following members.

Methods

  Name Description
Public method Attach Creates the window and drop-down combination and sets up a link between the drop-down bar and its client.
Public method Detach Breaks the link between the dropdown bar and its client.
Public method GetClient Returns the client associated with this drop-down bar.
Public method GetCurrentSelection Returns the entry that is currently selected in a given combination.
Public method RefreshCombo Force a repaint of a combo, specifying the new selection.
Public method SetCurrentSelection Sets the current selection in the given drop-down combination

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace