Freigeben über


IVsToolWindowToolbar Interface

Definition

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.

public interface class IVsToolWindowToolbar
public interface class IVsToolWindowToolbar
__interface IVsToolWindowToolbar
[System.Runtime.InteropServices.Guid("4544D333-8D5F-4517-9113-3550D618F2AD")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsToolWindowToolbar
[System.Runtime.InteropServices.Guid("4544D333-8D5F-4517-9113-3550D618F2AD")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsToolWindowToolbar
[<System.Runtime.InteropServices.Guid("4544D333-8D5F-4517-9113-3550D618F2AD")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsToolWindowToolbar = interface
[<System.Runtime.InteropServices.Guid("4544D333-8D5F-4517-9113-3550D618F2AD")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsToolWindowToolbar = interface
Public Interface IVsToolWindowToolbar
Derived
Attributes

Remarks

The Visual Studio shell calls GetBorder to find the available area for the toolbar. Then the shell calls SetBorderSpace 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.

Methods

GetBorder(RECT[])

Returns the border information for a tool window.

SetBorderSpace(RECT[])

Sets the border space for a tool window after the toolbar is placed.

Applies to