DockingAttribute Constructors

Definition

初始化 DockingAttribute 类的新实例。Initializes a new instance of the DockingAttribute class.

Overloads

DockingAttribute()

初始化 DockingAttribute 类的新实例。Initializes a new instance of the DockingAttribute class.

DockingAttribute(DockingBehavior)

使用给定的停靠行为初始化 DockingAttribute 类的新实例。Initializes a new instance of the DockingAttribute class with the given docking behavior.

DockingAttribute()

初始化 DockingAttribute 类的新实例。Initializes a new instance of the DockingAttribute class.

public:
 DockingAttribute();
public DockingAttribute ();
Public Sub New ()

DockingAttribute(DockingBehavior)

使用给定的停靠行为初始化 DockingAttribute 类的新实例。Initializes a new instance of the DockingAttribute class with the given docking behavior.

public:
 DockingAttribute(System::Windows::Forms::DockingBehavior dockingBehavior);
public DockingAttribute (System.Windows.Forms.DockingBehavior dockingBehavior);
new System.Windows.Forms.DockingAttribute : System.Windows.Forms.DockingBehavior -> System.Windows.Forms.DockingAttribute
Public Sub New (dockingBehavior As DockingBehavior)

Parameters

dockingBehavior
DockingBehavior

指定默认行为的 DockingBehavior 值。A DockingBehavior value specifying the default behavior.

Applies to