Specifies Row style docking

Namespace: Dapfor.Wpf.Controls
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public enum RowDockStyle
Visual Basic
Public Enumeration RowDockStyle
Visual C++
public enum class RowDockStyle
F#
type RowDockStyle

Members

Member nameValueDescription
None0Row is not docked.
Top1Row is docked to the top of its parent Row or to the top of the grid if this Row is on the top hierarchical level.
Bottom2Row is docked to the bottom of its parent Row or to the bottom of the grid if this Row is on the top hierarchical level.

Remarks

Docked rows are simple data rows that can be docked on top or bottom of any hierarchical level. Such rows don’t depend on data sorting direction and constantly stay on their fixed positions. This feature is useful when you need to display important information, e.g. an average value or a total, or when you need to create a row that acts as a filter (drop-down boxes containing value ranges).

In programming, docking is accessible via Row.Dock property. Programmer may specify multiple docked rows. If your data grid already has docked rows, the next docked row is placed after the previously docked row and before the first non-docked row. Docked rows can be filtered or grouped as any other data rows.

 Copy imageCopy
Row row = ...
row.Dock = RowDockStyle.Top;

See Also