Xceed DataGrid for Silverlight Documentation
AlternatingRowBackground Property


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

Property Value

The Brush that will be applied to the background of odd-numbered rows.
Requirements

Some state groups define alternate states, which are used when alternating row styles are applied. These alternate states can be disabled by setting the grid's AreAlternateStatesEnabled property to false.

If the AreAlternateStatesEnabled property is set to false, the AlternatingRowBackground color will be ignored.

See Also

Reference

DataGridControl Class
DataGridControl Members
RowBackground Property

Send Feedback