Back to Devexpress

GridView.PaintAppearance Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-25c48b61.md

latest2.3 KB
Original Source

GridView.PaintAppearance Property

Provides access to the appearance settings currently used to paint the Grid View’s elements.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public GridViewAppearances PaintAppearance { get; }
vb
<Browsable(False)>
Public ReadOnly Property PaintAppearance As GridViewAppearances

Property Value

TypeDescription
GridViewAppearances

A GridViewAppearances object which provides the appearance settings currently used to paint the Grid View’s elements.

|

Remarks

The appearance settings used to paint the Grid View’s elements (buttons, headers, data cells, etc.) are specified by the GridView.Appearance property. If these settings are not specified or not used (the corresponding appearance options are disabled) the elements are painted based upon the look and feel settings.

The PaintAppearance property allows the appearance settings which are actually used to be obtained. This can be especially useful when custom painting the View’s elements.

For more information on appearances, see the Appearance and Conditional Formatting document.

See Also

Appearance and Conditional Formatting

GridView Class

GridView Members

DevExpress.XtraGrid.Views.Grid Namespace