IVsDropdownBarClient Interface
Describes the contents of the drop-down bar combinations.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")> _
Public Interface IVsDropdownBarClient
[InterfaceTypeAttribute()]
[GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
public interface IVsDropdownBarClient
[InterfaceTypeAttribute()]
[GuidAttribute(L"AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")]
public interface class IVsDropdownBarClient
[<InterfaceTypeAttribute()>]
[<GuidAttribute("AEE77BDD-05C8-4DE1-B48E-1B003F49ACB7")>]
type IVsDropdownBarClient = interface end
public interface IVsDropdownBarClient
The IVsDropdownBarClient type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetComboAttributes | Returns information about a drop-down bar/Window combination. | |
GetComboTipText | Returns the tooltip for an entire drop-down bar combination. | |
GetEntryAttributes | Returns text appearance attributes for a drop-down combination entry. | |
GetEntryImage | Returns the glyph associated with a combo entry. | |
GetEntryText | Returns the text for a combo entry. | |
OnComboGetFocus | Fires when the combo gets focus. | |
OnItemChosen | Fires when a combo item is chosen. | |
OnItemSelected | Fires when a combo item is selected. | |
SetDropdownBar | Called by the drop-down bar to hook itself up to the client. |
Top
Remarks
Each combination described by IVsDropDownBarClient can contain plain text or fancy text, that is bold, underlined, or italic, can have window text font coloring or grayed out font coloring, and optionally show a small bitmap next to the item. Image drawing is negotiated using image lists, just as with the IVsCompletionSet interface. Each drop-down combination can have a different image list, with the caveat that the image lists should have images of the same height. You can have an arbitrary number of combinations, and the drop-down code makes no assumptions about their semantics.
Notes to Implementers
Implement the IVsDropdownBarClient interface to describe the contents of the drop-down bar combinations.