Udostępnij za pośrednictwem


IVsDropdownBar Interface

Definition

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

public interface class IVsDropdownBar
public interface class IVsDropdownBar
__interface IVsDropdownBar
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsDropdownBar
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsDropdownBar
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsDropdownBar = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("D7820968-4CF8-4760-B633-570282E5F66D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsDropdownBar = interface
Public Interface IVsDropdownBar
Derived
Attributes

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.

Methods

Attach(IntPtr, Int32, IVsDropdownBarClient)

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(IVsDropdownBarClient)

Returns the client associated with this drop-down bar.

GetCurrentSelection(Int32, Int32)

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

RefreshCombo(Int32, Int32)

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

SetCurrentSelection(Int32, Int32)

Sets the current selection in the given drop-down combination

Applies to