Share via


ProvideToolWindowAttribute.Orientation Property

Gets or sets the default orientation for the tool window relative to the window specified by the Window property.

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

Syntax

‘선언
Public Property Orientation As ToolWindowOrientation
    Get
    Set
‘사용 방법
Dim instance As ProvideToolWindowAttribute
Dim value As ToolWindowOrientation

value = instance.Orientation

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

Property Value

Type: Microsoft.VisualStudio.Shell.ToolWindowOrientation
ToolWindowOrientation.

Remarks

Allowable orientations are Top, Left, Right, Bottom or none.

.NET Framework Security

See Also

Reference

ProvideToolWindowAttribute Class

ProvideToolWindowAttribute Members

Microsoft.VisualStudio.Shell Namespace