Partager via


DialogContainerWithToolbar.ToolbarLocation Property

Gets and sets the value of the enumeration that describes the toolbar location.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Public Property ToolbarLocation As VSTWT_LOCATION
    Get
    Set
'Utilisation
Dim instance As DialogContainerWithToolbar
Dim value As VSTWT_LOCATION

value = instance.ToolbarLocation

instance.ToolbarLocation = value
public VSTWT_LOCATION ToolbarLocation { get; set; }
public:
property VSTWT_LOCATION ToolbarLocation {
    VSTWT_LOCATION get ();
    void set (VSTWT_LOCATION value);
}
member ToolbarLocation : VSTWT_LOCATION with get, set
function get ToolbarLocation () : VSTWT_LOCATION
function set ToolbarLocation (value : VSTWT_LOCATION)

Property Value

Type: Microsoft.VisualStudio.Shell.Interop.VSTWT_LOCATION
The enumeration is defined as follows.

typedef enum {VSTWT_LEFT, VSTWT_TOP, VSTWT_RIGHT, VSTWT_BOTTOM} VSTWT_LOCATION;

This corresponds to toolbar locations of left, top, right, and bottom.

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

DialogContainerWithToolbar Members

Microsoft.VisualStudio.Shell Namespace