We have a grid that have sets of appearance defined in c# code. With AppStyle, it messed up with some of the setting, can we turn off AppStyle partically in code for one grid?
Thanks.
qhbyjh,
Try setting ultraGrid.UseAppStyling to false. This will turn off AppStyling for that one particular control.
~Kim~
Thanks Kim, can I choose to use some of stylings in AppStyle, not all, in one control?
Another option would be to use the StyleSetName property on the grid. This allows you to specify a StyleSet for the particular control.
So what you could then do is create a StyleSet within your StyleLibrary that contains only the setting you want applied to the individual grid.
The StyleSet also has a BasedOn setting, so you can essentially inherit from one StyleSet to the next. In this way, you could have a base StyleSet that applies to some grids and a more complex one that applies to other grids.
Still another alternative would be to use the StyleLibraryName property on the grid, which allows you to specify a completely different StyleLibrary for the control.
While you can turn off AppStyling on a control-by-control basis, there is no way to turn it off for part of a single control while leaving it on for the rest of that control. You can submit a feature request here for that functionality.