DataGrid REALbasic Plugin |

# DataGrid.ShadeSelection Property

Lets selected row be shaded with platform gradients using Quartz shading on MacOS X Cocoa, GDI plus on Windows and Cairo on Linux systems.

ShadeSelection as Boolean {Read and Write}

#### Remarks

This property only takes effect if set to true and if SelectEntireRow is true.
Windows system have two different shaders that it switches automatically between depending on if you have horizontal grid lines or not. If not having horizontal grid lines then a more list box like shader is used, while if having horizontal grid lines then more grid line shader is used.
Note that when using ShadeSelection then the SelectionColor property is ignored as well as the InactiveSelectionColor property on some platforms and the SelectedTextColor property on some platforms.
This property has no effect on MacOS X Carbon.
Shaded selection shown on MacOS X Cocoa, Linux, and then the two at bottom are the two Windows shaders.

#### See Also

DataGrid Control