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.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Dock |
A Dock |
#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.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Dock property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.