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
945
Ultratoolbar Tool visible changed event
posted

I have a form with an ultratoolbarManager on it. There are several toolbars on it that are made invisble depending on the permissions a user has to the tools on the toolbars. In such cases i hide a toolbar when all tools on it are invisible. The issue i have is that later on the user may get access to a particular tool and i change its visibility to true which is all ok. The only problem i have is that the toolbar that the tool appears on may already be invisible.

Is there any event i could hook up to when a tools visibility changes.

I know i could check the OwningToolbar when the tool's visibility changes but that means i need to find all instance of this in my application and start cutting and pasting code which isn't the neatest....

Thanks

R

 

 

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Raymond,

    I believe that you could hook up to the 'PropertyChanged' event and check which is the trigger of this event. You could also see the source from the 'PropertyChangedEventArgs'.

    Please feel free to let me know if I misunderstood you or if you have any other questions.

Children
No Data