Xceed DataGrid for WPF v7.2 Documentation
IsAlternatingRowStyleEnabled Property (TableView)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > TableView Class : IsAlternatingRowStyleEnabled Property
Gets or sets a value indicating whether an alternate style is applied to every other row.
Syntax
'Declaration
 
Public Property IsAlternatingRowStyleEnabled As Boolean
'Usage
 
Dim instance As TableView

Dim value As Boolean

 

instance.IsAlternatingRowStyleEnabled = value

 

value = instance.IsAlternatingRowStyleEnabled
public bool IsAlternatingRowStyleEnabled {get; set;}

Property Value

true if an alternate style is applied to every other row; false otherwise. The default value of this property is usually false; however, for some themes, alternate row styles may be enabled by default.
Remarks
This property represents the local CLR property of the IsAlternatingRowStyleEnabled attached property.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TableView Class
TableView Members