Xceed DataGrid for Silverlight Documentation
AreAlternateStatesEnabled Property


Gets or sets a value indicating whether alternate styles are applied.
Syntax
'Declaration
 
Public Property AreAlternateStatesEnabled As Boolean
'Usage
 
Dim instance As DataGridControl
Dim value As Boolean
 
instance.AreAlternateStatesEnabled = value
 
value = instance.AreAlternateStatesEnabled
public bool AreAlternateStatesEnabled {get; set;}

Property Value

true if alternate styles are applied; false otherwise.
Remarks

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.

Requirements

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

See Also

Reference

DataGridControl Class
DataGridControl Members

Templating

Visual States

Send Feedback