Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

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

#Declaration

[Browsable(false)]
public GridViewAppearances PaintAppearance { get; }

#Property Value

Type Description
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