Skip to main content
A newer version of this page is available.
All docs
V20.2

BaseView.ActivePaintStyleName Property

Gets the name of the currently applied painting scheme.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.2.dll

NuGet Package: 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.

See Also