Is there a palette changed event?

2 posts, 1 answers
  1. Steve
    Steve avatar
    101 posts
    Member since:
    May 2014

    Posted 07 Apr 2016 Link to this post

    Is there any easy way to get notified if the user changes the palette through the right click menu?


    I am currently handling the ContextMenuOpening event so that I can find all of the palette menu items and add click event handler individually, but this is awkward and I was hoping for a more direct method.

  2. Answer
    Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4169 posts

    Posted 07 Apr 2016 Link to this post

    Hello Steve,

    Thank you for writing.

    Handling the ContextMenuOpening event is a suitable approach. However, you can detect when the palette is changed by using the following code:

    private void View_PropertyChanged(object sender, PropertyChangedEventArgs e)
        if (e.PropertyName=="Palette")

    I hope this information helps. Should you have further questions I would be glad to help.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top