Skip to main content
A newer version of this page is available. .

GridViewAppearances.Row Property

Gets the appearance settings used to paint the data rows.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

public AppearanceObject Row { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object that provides the appearance settings used to paint the data rows.

Remarks

The Row property specifies the appearance settings of the data cells that reside within data rows. Even and odd rows can be painted using different appearances. Use the GridViewAppearances.EvenRow and GridViewAppearances.OddRow properties for this purpose. In this case, the appearance settings specified by the Row property are ignored.

To specify custom appearances for individual data rows, handle the GridView.RowStyle event. Row cells can also be custom painted using the GridView.CustomDrawCell event.

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Row property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also