I am using in-built column chosser. whtever header backcolor and forecolor setting for Grid column is replacating in column choosser dialog. I want some different backcolor and forecolor in in-built column chosser. How do i do. Thanks in advanced.
I think you can do this:
private void ultraGrid1_BeforeColumnChooserDisplayed(object sender, BeforeColumnChooserDisplayedEventArgs e) { e.Dialog.ColumnChooserControl.SyncLookWithSourceGrid = false; }
With SynchLookWithSourceGrid set to Default or True I'm still not seeing any source grid ScrollbarLook appearance applied. Our grids have the UseOSThemes set to false and a custom ScrollbarLook appearance set. Any way to get this carried over to the column chooser grid?
I think SynchLookWithSourceGrid probably only applies to the column headers and not the scrollbars.It should probably apply to both, so I'm going to forward this over to Infragistics Developer Support so they can look into it.
In the meant time, this should be easy enough to handle yourself:
private void ultraGrid1_BeforeColumnChooserDisplayed(object sender, BeforeColumnChooserDisplayedEventArgs e) { UltraGrid grid = (UltraGrid)sender; e.Dialog.ColumnChooserControl.DisplayLayout.ScrollBarLook.Appearance = grid.DisplayLayout.ScrollBarLook; }