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
85
Header sync
posted

I have a wingrid that contains bands w/ about about 30 fields in each band. Each band looks quite busy. 

How can I sync the appearance of the active cell and active cell's header in such a way that anytime the user clicks on a cell in a band, that particular cell's header gets a different color.

Thanks

Parents
No Data
Reply
  • 469350
    Offline posted

    If you have a recent version of the grid, it's actually easier than that.


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

Children