Xceed DataGrid for Silverlight Documentation
RowBackground Property


Gets or sets the brush that will be applied to the background of even-numbered rows.
Syntax
'Declaration
 
Public Property RowBackground As Brush
'Usage
 
Dim instance As DataGridControl
Dim value As Brush
 
instance.RowBackground = value
 
value = instance.RowBackground
public Brush RowBackground {get; set;}

Property Value

The Brush that will be applied to the background of even-numbered rows.
Remarks

If the AreAlternateStatesEnabled property is set to false and a background color has been provided, it will be applied too all rows, including the odd-numbered rows (i.e., the AlternatingRowBackground color will be ignored).

Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DataGridControl Class
DataGridControl Members
AlternatingRowBackground Property

Send Feedback