Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1300
Alternate row's colors every 3 rows
posted

Hi

I would like to alternate my rows in my ultragrid every 3 rows, the alternate object like :


        private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {
            e.Layout.Override.RowAlternateAppearance.BackColor = Color.Cyan;           
        }

 

works well but I want to have a color only every 3 rows.

Thanks