Spread ASP.NET 17
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.
    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