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
145
Don't Save ValueLists of UltraGrid on SaveAsXml
posted

Is there a way to save the xml of an UltraGrid's appearance without saving the ValueLists? I want to save the order, size, visibility of the columns but not save the items in the ValueLists. I've looked at the PropertyCategories options that can be used in SaveAsXml(), but can't find the right combination for what I'm looking for. Any ideas?

Parents
  • 6120
    Offline posted

    Hi Brent, 

    You can exclude ValueLists from the layout by omitting the corresponding flag from PropertyCategories. So for example the PropertyCategories combination that you can use is something like  

    Infragistics.Win.UltraWinGrid.PropertyCategories.All & ! Infragistics.Win.UltraWinGrid.PropertyCategories.ValueLists 

    Please let me know if you have any questions. 

    Sincerely,

    Sahaja Kokkalagadda

    Associate Software Developer, Windows Forms

    http://ko.infragistics.com/

Reply Children