In a (primarily web) XAF app, the "Reset View Settings" button appears everywhere, all the time, which is confusing to some users. I'd like to show that button only if the view had been customized in some way. How can I accomplish this?
Thanks for your update. Right away, I can recommend you move this Action into a category, which is not visible by default. The tickets below describe possible ways of doing this:
How to group Actions under the "..." drop down group on the Web
Move action Reset View Setting to another part ribbon – Tools Tab
Let me know how they work for you.
This command indeed must already be disabled under certain circumstances (e.g., when an object is new or there are unsaved changes). I am afraid we cannot offer an easy solution for tracking customizations, at least on the Web and using public documented APIs. Our team also will take your scenario into account for the future. I also has started a survey regarding this command: https://dxsurvey.com/published?id=45965fae-dfc7-48ac-af26-aee17d2c3ec4