ToolWindowOrientation ToolWindowOrientation ToolWindowOrientation ToolWindowOrientation ToolWindowOrientation ToolWindowOrientation Enum

Definition

This enumeration provides a number of possible tool window orientations with respect to a docking window.

public enum class ToolWindowOrientation
public enum class ToolWindowOrientation
enum ToolWindowOrientation
public enum ToolWindowOrientation
type ToolWindowOrientation = 
Public Enum ToolWindowOrientation
Inheritance
ToolWindowOrientationToolWindowOrientationToolWindowOrientationToolWindowOrientationToolWindowOrientationToolWindowOrientation

Fields

Bottom Bottom Bottom Bottom Bottom Bottom 4

Tool window initially oriented against the bottom of the docking window.

Left Left Left Left Left Left 2

Tool window initially oriented to the left of the docking window.

none none none none none none 0

No tool window orientation indicated.

Right Right Right Right Right Right 3

Tool window initially oriented to the right of the docking window.

Top Top Top Top Top Top 1

Tool window initially oriented against the top of the docking window.

Examples

This demonstrates the use of the value ToolWindowOrientation.Left in a ProvideToolWindowAttribute. See VsDockStyle for a description of docking styles.

[ProvideToolWindow(typeof(TestManagerToolWindowHost),  
        Orientation = ToolWindowOrientation.Left,  
        Style = VsDockStyle.MDI,  
        PositionX = 200,  
        PositionY = 200,  
        Width = 630,  
        Height = 500,  
        Window = "{F08466EC-20E5-3D77-49AC-6EC38954C9DF}")]  

Remarks

This is a parameter of the attribute of ProvideToolWindowAttribute which is applied to subclasses of Package or classes that implement IVsPackage.

Applies to