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.
Gets the border size and sets the border space for a tool window. You should implement this interface to give information to the toolbar hosted inside the tool window about its hosting surface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<GuidAttribute("4544D333-8D5F-4517-9113-3550D618F2AD")> _
<InterfaceTypeAttribute()> _
Public Interface IVsToolWindowToolbar
[GuidAttribute("4544D333-8D5F-4517-9113-3550D618F2AD")]
[InterfaceTypeAttribute()]
public interface IVsToolWindowToolbar
[GuidAttribute(L"4544D333-8D5F-4517-9113-3550D618F2AD")]
[InterfaceTypeAttribute()]
public interface class IVsToolWindowToolbar
[<GuidAttribute("4544D333-8D5F-4517-9113-3550D618F2AD")>]
[<InterfaceTypeAttribute()>]
type IVsToolWindowToolbar = interface end
public interface IVsToolWindowToolbar
The IVsToolWindowToolbar type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
GetBorder | Returns the border information for a tool window. |
![]() |
SetBorderSpace | Sets the border space for a tool window after the toolbar is placed. |
Top
Remarks
The Visual Studio shell calls GetBorder(array<RECT[]) to find the available area for the toolbar. Then the shell calls SetBorderSpace(array<RECT[]) to set the available space after the toolbar is placed on the given surface so that users can place the other UI controls without overlapping the toolbar.