Spread for ASP.NET 7.0 Product Documentation
SelectedForeColor Property
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Renderer Namespace > ListBoxRenderer Class : SelectedForeColor Property


Glossary Item Box

Gets or sets the text color of the selected item.

Syntax

Visual Basic (Declaration) 
Public Property SelectedForeColor As Color
Visual Basic (Usage)Copy Code
Dim instance As ListBoxRenderer
Dim value As Color
 
instance.SelectedForeColor = value
 
value = instance.SelectedForeColor
C# 
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.