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
2430
Saving Display Layout (parameter question)
posted

Grid.DisplayLayout.SaveAsXml - PropertyCategory

I have been using PropertyCategory.All but that is producing 2 issues that I would like resolved:

When I add or remove a column in the code, it still shows the old columns in ShowColumnChooser.  I would like to retain the visible column position and list of visible columns from ShowColumnChooser but I would like to have any new columns / bands that are added or removed to show up in the ShowColumnChooser.  So basically, I want to retain the existing column information (size, position, visiblility, etc.) but also get the new information (I wouldn't mind if the new columns were hidden but they do show up under the column chooser for the user to add).

I also don't want to retain appearances (aka I want the information like background color to come from the code).

What PropertyCategory do I need to use?