Skip to main content
All docs
V25.2
  • Table.HasBandedRows Property

    Gets or sets whether to highlight alternating rows.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.2.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public bool HasBandedRows { get; set; }

    Property Value

    Type Description
    Boolean

    true if alternating rows are highlighted; otherwise, false.

    Remarks

    The following image shows a table with banded rows:

    DevExpress Presentation API - Tables - HasBandedRows

    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;
        }
    }
    
    See Also