| Visual Basic (Declaration) | |
|---|---|
Public Property SelectedBackColor As Color | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ListBoxRenderer Dim value As Color instance.SelectedBackColor = value value = instance.SelectedBackColor | |
| C# | |
|---|---|
public Color SelectedBackColor {get; set;} | |
Property Value
Color object containing the background color for selected cellsSet this property to a color value to display a different text color in selected list box items.
Set the text color for the selected list box items using the SelectedForeColor property.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6