'Declaration
Public Property SelectedForeColor As Color
'Usage
Dim instance As ListBoxRenderer Dim value As Color instance.SelectedForeColor = value value = instance.SelectedForeColor
public Color SelectedForeColor {get; set;}
'Declaration
Public Property SelectedForeColor As Color
'Usage
Dim instance As ListBoxRenderer Dim value As Color instance.SelectedForeColor = value value = instance.SelectedForeColor
public Color SelectedForeColor {get; set;}
Set this property to a color value to display a different text color in selected list box items.
Set the background color for the selected list box items using the SelectedBackColor property.