Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
Attach | Creates the window and drop-down combination and sets up a link between the drop-down bar and its client. |
![]() |
Detach | Breaks the link between the dropdown bar and its client. |
![]() |
GetClient | Returns the client associated with this drop-down bar. |
![]() |
GetCurrentSelection | Returns the entry that is currently selected in a given combination. |
![]() |
RefreshCombo | Force a repaint of a combo, specifying the new selection. |
![]() |
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.