IVsButtonBar Interface

Provides a set buttons at the bottom of a code window.

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

Syntax

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("4C4095EC-0AF1-48B2-A900-DB496765EE9E")> _
Public Interface IVsButtonBar
[InterfaceTypeAttribute()]
[GuidAttribute("4C4095EC-0AF1-48B2-A900-DB496765EE9E")]
public interface IVsButtonBar
[InterfaceTypeAttribute()]
[GuidAttribute(L"4C4095EC-0AF1-48B2-A900-DB496765EE9E")]
public interface class IVsButtonBar
[<InterfaceTypeAttribute()>]
[<GuidAttribute("4C4095EC-0AF1-48B2-A900-DB496765EE9E")>]
type IVsButtonBar =  interface end
public interface IVsButtonBar

The IVsButtonBar type exposes the following members.

Methods

  Name Description
Public method Attach Creates window/button combinations.
Public method Detach Breaks the link between a button bar and its client.
Public method GetClient Returns the client associated with a button bar.
Public method GetCurrentSelection Returns the number of the button that is currently pressed.
Public method GetSize Gets the size of the button bar.
Public method SetCurrentSelection Specifies The button that is selected.
Public method SetHeight Specifies the height of the button bar.

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace