StyleGrid REALbasic Plugin |

# StyleGrid.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 StyleGridStyle

#### Parameters

#### Returns

StyleGridStyle
  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 StyleGrid, each cell can have one instance of a StyleGridStyle attached to it, if no instance is attached to it then the StyleGrid's default style is used to render the cell.

#### See Also

StyleGrid Control