Xceed DataGrid for WPF v7.2 Documentation
The following example demonstrates how to alternate the appearance of data row styles using the IndexToOddConverter.
"<?XML:NAMESPACE PREFIX = Grid xmlns /><Grid xmlns:xcdg="http: datagrid" xaml wpf schemas.xceed.com><CRLF>  <GRID.RESOURCES><CRLF><CRLF><CRLF>    <?xml:namespace prefix = xcdg /><xcdg:IndexToOddConverter x:Key="rowIndexConverter"></xcdg:IndexToOddConverter x:Key="rowIndexConverter">   <CRLF><CRLF>    <?XML:NAMESPACE PREFIX = Style TargetType="{x /><Style TargetType="{x:Type xcdg:DataRow}"><CRLF>      <STYLE.TRIGGERS><CRLF>        <DATATRIGGER BINDING=&QUOT;{BINDING RELATIVESOURCE={RELATIVESOURCE SELF},<CRLF>                                       Path=(xcdg:DataGridVirtualizingPanel.ItemIndex),<CRLF>                                       Converter={StaticResource rowIndexConverter}}"<CRLF>                               Value="True"&gt;<CRLF>          <SETTER PROPERTY=&QUOT;BACKGROUND&QUOT;><CRLF>            <SETTER.VALUE><CRLF>              <SOLIDCOLORBRUSH COLOR=&QUOT;LIGHTGRAY&QUOT;<CRLF>                               Opacity="0.1"/&gt;<CRLF>            </SETTER.VALUE><CRLF>          </SETTER><CRLF>        </DATATRIGGER><CRLF>      </STYLE.TRIGGERS><CRLF>    </STYLE><CRLF>    <xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
                                   Source="{Binding Source={x:Static Application.Current},<CRLF>                                                    Path=Orders}"/&gt;<CRLF>  </GRID.RESOURCES><CRLF><CRLF>  <xcdg:DataGridControl x:Name="OrdersGrid"
                        ItemsSource="{Binding Source={StaticResource cvs_orders}}"&gt;<CRLF>  </xcdg:DataGridControl x:Name="OrdersGrid"
<CRLF></GRID>", Language="XAML", InLine="True"</xcdg:DataGridCollectionViewSource x:Key="cvs_orders"
</Style TargetType="{x:Type xcdg:DataRow}"></Grid xmlns:xcdg="http:>