I am changing, for instance: the Grid Backgroup color, using the Designer, Control Settings, Ultra Grid, Display Layout, BackColor. I set to ControlDark and the backgroup show Control Dark. I save and apply settings. When I run, the control still shows this as white. I cannot find any setting that is telling the grid to save/load past run settings,etc. If there is one, where is it and how do I turn it off?
I have tried digging in to the maze of properties in runtime and the same setting set in code after populating grid also fails, as does, for instance:
Display.OverRide.Appearance.FridayOnly.UserSpecific.OverRide.Bands[0].WhenOnlyOneBand.Appearace.OverRide.BackColor.RegionSpecific.Users.Race.BackColor.LastUsed.OverRide.ColorBlindAccessibilty.WhenTrue = Color.DarkGrey
Thanks.
My guess is that you are loading a layout into the grid at run-time which is overriding your design-time settings. Or perhaps your application is using Application Styling and loading a Style library into memory, which will also override any design-time or run-time settings you apply.
Hello sunibla,
Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.
If you have any other questions, please feel free to ask and I would be glad to assist you further with them.
OK, thanks for getting back to me on this so quickly
I have tried your scenario, following your steps and I was not able to reproduce this. Setting the 'BackColor' property to 'ControlDark' color works fine for me. Probably you would have to ensure that there is not any code overriding the properties you are trying to set in design time. If you are applying a theme, it might override your settings in design time also.
Please take a look at the sample attached in this post and feel free to let me know if there is anything else you want to ask.