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


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.

Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ListBoxRenderer Class
ListBoxRenderer Members
SelectedBackColor Property

 

 


Copyright © GrapeCity, inc. All rights reserved.