BCGSoft.Controls.Grid Namespace > GridControl Class : UseControlBarsColors Property |
'Declaration Public Property UseControlBarsColors As Boolean
'Usage Dim instance As GridControl Dim value As Boolean instance.UseControlBarsColors = value value = instance.UseControlBarsColors
public bool UseControlBarsColors {get; set;}
You can set some predefined visual styles to match the grid appearance with the current appearance of your application. These visual styles are loaded from resources and the colors are hardcoded. However, Office XP, Office 2003 and VS 2005 colors depend on the current Windows color theme.
If you set this property to true, the colors of grid will be adjusted according to the current Windows color theme every time you call SetVisualStyle or DeserializeVisualStyles.
You should set this property to false if you don't want to make your colors modified (if you provide your own visual style, for example).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2