officefileapi-devexpress-dot-docs-dot-presentation-dot-table-c1668f0e.md
Gets or sets whether to highlight alternating rows.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public bool HasBandedRows { get; set; }
Public Property HasBandedRows As Boolean
| Type | Description |
|---|---|
| Boolean |
true if alternating rows are highlighted; otherwise, false.
|
The following image shows a table with banded rows:
using DevExpress.Docs.Presentation;
namespace PresentationApiSample;
public class Program {
public static void Main(string[] _) {
//...
table.HasBandedColumns = true;
table.HasBandedRows = true;
table.HasFirstColumn = true;
table.HasLastColumn = true;
table.HasTotalRow = true;
table.HasHeaderRow = true;
}
}
Imports DevExpress.Docs.Presentation
Namespace PresentationApiSample
Public Class Program
Public Shared Sub Main(__ As String())
'...
table.HasBandedColumns = True
table.HasBandedRows = True
table.HasFirstColumn = True
table.HasLastColumn = True
table.HasTotalRow = True
table.HasHeaderRow = True
End Sub
End Class
End Namespace
See Also