संपादित करें

इसके माध्यम से साझा किया गया


DockingBehavior Enum

Definition

Specifies how a control should be docked by default when added through a designer.

public enum class DockingBehavior
public enum DockingBehavior
type DockingBehavior = 
Public Enum DockingBehavior
Inheritance
DockingBehavior

Fields

Name Value Description
Never 0

Do not prompt the user for the desired docking behavior.

Ask 1

Prompt the user for the desired docking behavior.

AutoDock 2

Set the control's Dock property to Fill when it is dropped into a container with no other child controls.

Remarks

The DockingBehavior enumeration is used by the System.Windows.Forms.DockingAttribute class.

The SplitContainer and WebBrowser controls are set to AutoDock. The DataGridView control is set to Ask.

Applies to

See also