BaseView.ActivePaintStyleName Property
Gets the name of the currently applied painting scheme.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
String | A string representing the name of the currently applied painting scheme. |
Remarks
The ActivePaintStyleName property returns the name of the currently applied painting scheme.
A View’s painting scheme is controlled by the BaseView.PaintStyleName property. The Grid Control provides a number of painting schemes: “Default”, “Flat”, “UltraFlat”, “Office2003”, “Web”, etc. If the BaseView.PaintStyleName property is set to any value other than the “Default” string the View will be painted using the corresponding painting scheme and the ActivePaintStyleName property will return the same value as the BaseView.PaintStyleName property.
If the BaseView.PaintStyleName property is set to “Default” the painting scheme is determined by the grid control’s look and feel settings (the GridControl.LookAndFeel property) and the ActivePaintStyleName property returns the name of the painting scheme exposed by the grid’s look and feel.