DataGrid REALbasic Plugin |

# DataGrid.GetDefaultStyle Method

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

GetDefaultStyle() as DataGridStyle

#### Parameters

#### Returns

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

#### Remarks

The Default Style cannot be set by creating a new style, but it can be mutated.
In DataGrid, each cell can have one instance of a DataGridStyle attached to it, if no instance is attached to it then the DataGrid's default style is used to render the cell.

#### See Also

DataGrid Control