DataGrid REALbasic Plugin

DataGrid.GetHeaderDefaultStyle Method

This function is used to access the default style object that all headers that have no style assigned to them use.

GetHeaderDefaultStyle() as DataGridStyle

Parameters

Returns

DataGridStyle
Returns a reference to the Grid's default header style object.

Remarks

The Default Style cannot be set by creating a new style, but it can be mutated.

In DataGrid, each header can have one instance of a DataGridStyle attached to it, if no instance is attached to it then the DataGrid's header default style is used to render the cell.

See Also

DataGrid Control