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


In This Topic
    ItemBackground 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 0.
    Syntax
    'Declaration
     
    Public Property ItemBackground As Brush
    'Usage
     
    Dim instance As GcComboBox
    Dim value As Brush
     
    instance.ItemBackground = value
     
    value = instance.ItemBackground
    public Brush ItemBackground {get; set;}

    Property Value

    The brush that is used to paint the background of dropdown item whose AlternationIndex is 0.
    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 0.
    See Also