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
760
Customizing context menu for a gallery item
posted

Hello,

Is there any way to customize a context menu that appears for gallery items? Right now there is only "Add Gallery To Quick Access Toolbar" item in the popup menu, but I need to show custom menu items similar to Office 2010 Styles Gallery http://www.jkp-ads.com/images/style00a.gif

Thanks

Parents
  • 30945
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into the functionality that you have described and you can customize the ContextMenu of the items, by re-tempalting the GalleryItemControl. In the Template of the GalleryItemControl, there is a definition of a XamContextMenu, which you can change, in order to achieve the appearance that you are looking for. I have created a sample application for you, that demonstrates how you can implement this approach.

     

    Please let me know if you need any further assistance on the matter.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    GalleryContMenuCustomizaton.zip
Reply Children