GridControl.Dock Property

Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public override DockStyle Dock { get; set; }
Public Overrides Property Dock As DockStyle

Property Value

Type Description
DockStyle

A DockStyle value.

Remarks

In Split Presentation mode, a GridControl is placed within a GridSplitContainer, by occupying its entire region. The Dock property is set to Fill and cannot be changed in this mode.

See Also