ComponentOne List for WinForms
C1.Win.List Namespace / C1List Class / OddRowStyle Property

In This Topic
    OddRowStyle Property (C1List)
    In This Topic
    Returns or sets the Style object that controls the appearance of an odd-numbered row.
    Syntax
    'Declaration
     
    
    Public Property OddRowStyle As Style
    public Style OddRowStyle {get; set;}
    Remarks

    This property sets or returns the Style object that controls the appearance of an odd-numbered row in a list or split where the C1.Win.List.ListBase.C1ListBase.AlternatingRows property is set to True. By default, this is the built-in OddRow style.

    To change the appearance of even-numbered rows, set the C1.Win.List.ListBase.C1ListBase.EvenRowStyle property.

    See Also