Method AddColumn
AddColumn(string?, float?, Action?)
Adds a new column with the specified title and width to the control.
public virtual ObjectUniqueId AddColumn(string? title, float? width = null, Action? onClick = null)
Parameters
titlestringThe text to display as the title of the column. This value cannot be null or empty.
widthfloat?The width of the column, specified as a float value.
onClickActionThe action to be executed when the column is clicked.
Returns
- ObjectUniqueId
The unique identifier of the newly added column, represented as an ObjectUniqueId.
Remarks
The method creates a new column with a label and an attached splitter. The label is configured to display both text and an image, and is docked to the left of the layout. The splitter is also docked to the left and is used to separate columns visually.