Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 188.8.131.5217 (184.108.40.20617)
public enum RowDockStyle
Public Enumeration RowDockStyle
public enum class RowDockStyle
|0||Row is not docked.|
|1||Row 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.|
|2||Row 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.|
Docked rows are simple data rows that can be docked on top or bottom at 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).
Programmer may specify multiple docked rows. If your data grid already has docked rows, the next docked row will be placed after the previously docked row and the first non-docked row. Docked rows can also be filtered or grouped as any other data rows.
//Dock row to the bottom grid.Rows.Dock = RowDockStyle.Bottom; //Dock row to the top grid.Rows.Dock = RowDockStyle.Top; //Undock row grid.Rows.Dock = RowDockStyle.None;