Back to Devexpress

GridViewAppearances.OddRow Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridviewappearances-8f63753d.md

latest2.7 KB
Original Source

GridViewAppearances.OddRow Property

Gets the appearance settings used to paint odd data rows.

Namespace : DevExpress.XtraGrid.Views.Grid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public AppearanceObject OddRow { get; }
vb
Public ReadOnly Property OddRow As AppearanceObject

Property Value

TypeDescription
AppearanceObject

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

|

Remarks

The OddRow property specifies the appearance settings of data cells within odd rows. If this property is not specified, the appearance of data cells within odd rows is specified by the GridViewAppearances.Row property.

The appearance settings provided by the OddRow property are used to paint odd rows if the GridOptionsView.EnableAppearanceOddRow property is set to true.

To specify the appearance of even rows, use the GridViewAppearances.EvenRow property.

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

See Also

EvenRow

Row

RowCellStyle

CustomDrawCell

EnableAppearanceOddRow

GridViewAppearances Class

GridViewAppearances Members

DevExpress.XtraGrid.Views.Grid Namespace