Xceed Toolkit Plus for WPF v4.6 Documentation
SetIsAlternatingRowStyleEnabled Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > TableView Class : SetIsAlternatingRowStyleEnabled Method

The dependency object to which the attached property is written.

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.
Sets a value indicating whether an alternate style is applied to every other row.
Syntax
'Declaration
 
Public Shared Sub SetIsAlternatingRowStyleEnabled( _
   ByVal obj As DependencyObject, _
   ByVal value As Boolean _
) 
'Usage
 
Dim obj As DependencyObject
Dim value As Boolean
 
TableView.SetIsAlternatingRowStyleEnabled(obj, value)
public static void SetIsAlternatingRowStyleEnabled( 
   DependencyObject obj,
   bool value
)

Parameters

obj

The dependency object to which the attached property is written.

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.
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