Skip to main content
All docs
V21.1

BaseView.ActivePaintStyleName Property

Gets the name of the currently applied painting scheme.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v21.1.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Grid

Declaration

[Browsable(false)]
[DXCategory("Appearance")]
public string ActivePaintStyleName { get; }

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 and the ActivePaintStyleName property returns the name of the painting scheme exposed by the grid’s look and feel.

See Also