wpf-devexpress-dot-xpf-dot-grid-dot-rowdata-77f283a5.md
Gets whether the row’s visible index is even.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public bool EvenRow { get; protected set; }
Public Property EvenRow As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the row’s visible index is even; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EvenRow 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.
if (row != null)
return row.EvenRow ? EvenRowTemplate : OddRowTemplate;
return base.SelectTemplate(item, container);
If row IsNot Nothing Then
Return If(row.EvenRow, EvenRowTemplate, OddRowTemplate)
End If
See Also