Back to Devexpress

TableView.AlternationCount Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-ab664130.md

latest1.6 KB
Original Source

TableView.AlternationCount Property

Gets or sets the alternate row frequency. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public int AlternationCount { get; set; }
vb
Public Property AlternationCount As Integer

Property Value

TypeDescription
Int32

An integer value that is the alternate row frequency. By default, 0

|

Remarks

DXGrid allows you to alternate row colors. Use the AlternationCount property to set the alternate row frequency. Use the TableView.AlternateRowBackground property to set the background color of alternate rows.

If the AlternationCount property is set to 0 , none of the rows has the alternative background. If the AlternationCount property is set to 1 , all rows has the alternative background.

See Also

AlternateRowBackground

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace