Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcComboBox Class / AlternatingItemBackground Property


In This Topic
    AlternatingItemBackground Property (GcComboBox)
    In This Topic
    Gets or sets the System.Windows.Media.Brush that is used to paint the background of dropdown item whose AlternationIndex is 1.
    Syntax
    'Declaration
     
    Public Property AlternatingItemBackground As Brush
    'Usage
     
    Dim instance As GcComboBox
    Dim value As Brush
     
    instance.AlternatingItemBackground = value
     
    value = instance.AlternatingItemBackground
    public Brush AlternatingItemBackground {get; set;}

    Property Value

    The brush that is used to paint the background of dropdown items whose AlternationIndex is 1.
    Remarks
    The ItemBackground property is used to paint the background for all dropdown items in the control. However, if the AlternatingItemBackground property value is not a null reference (Nothing in Visual Basic), its value overrides the default background value for dropdown items whose AlternationIndex is 1.
    See Also