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
445
AppStyling and LoadFromXML
posted

Hi,

I using AppStyling using self created resources and setting the UltraListView.ViewSettingsDetails.ColumnHeaderAppearance.StyleResourceName property for an UltraListView on an inherited form (the UltraListView is on the base form).  When I use LoadFromXML on the UltraListView the ColumnHeaders to not retain the style resource and revert to the default appearence.  I have tried to set the StyleResourceName property after I load the XML file but still no luck. 

Has anyone had this problem before?  Anyone have a solution the getting the UltraListView Column headers to either retain the StyleResource or acquire it again after loading the XML file?

Thanks.

Parents
No Data
Reply
  • 69832
    Offline posted

    You might want to try adding this line of code prior to setting the StyleResourceName:

    UltraListView.ViewSettingsDetails.ColumnHeaderAppearance.Reset();

    It soulds like there are properties set on the ColumnHeaderAppearance, and when you set the StyleResourceName, I think it only merges in the AppStyling appearance, not overwrites it.

Children