Spread for ASP.NET 11 Product Documentation
SelectedForeColor Property (ListBoxRenderer)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ListBoxRenderer Class : SelectedForeColor Property
Gets or sets the text color of the selected item.
Syntax
'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;}

Property Value

Color object containing the text color for selected cells
Remarks

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.

See Also

Reference

ListBoxRenderer Class
ListBoxRenderer Members
SelectedBackColor Property