BaseView.ActivePaintStyleName Property

Gets the name of the currently applied painting scheme.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Browsable(false)]
[DXCategory("Appearance")]
public string ActivePaintStyleName { get; }
<Browsable(False)>
<DXCategory("Appearance")>
Public ReadOnly Property ActivePaintStyleName As String

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.

See Also