Spread for ASP.NET 10 Product Documentation
SelectedBackColor Property (ListBoxRenderer)


Gets or sets the background color of the selected list item.
Syntax
'Declaration
 
Public Property SelectedBackColor As Color
'Usage
 
Dim instance As ListBoxRenderer
Dim value As Color
 
instance.SelectedBackColor = value
 
value = instance.SelectedBackColor
public Color SelectedBackColor {get; set;}

Property Value

Color object containing the background 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 text color for the selected list box items using the SelectedForeColor 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
SelectedForeColor Property

 

 


Copyright © GrapeCity, inc. All rights reserved.