Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Renderer Namespace / ListBoxRenderer Class / SelectedForeColor Property

In This Topic
    SelectedForeColor Property (ListBoxRenderer)
    In This Topic
    Gets or sets the text color of the selected item.
    Public Property SelectedForeColor As Color
    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

    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