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
60
How to create XamContextMenu from XAML?
posted

I am following the steps described in the following link to add a context menu (associated with a textbox) from xaml to my WPF application:

http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/xamContextMenu_Getting_Started_with_xamContextMenu.html

I followed steps 1, 2, 3 and 4 correctly. When I follow step 5 I get an error saying "The attachable property Manager was not found in type ContextMenuService". I declared the things described in step 5 right after closing the Textbox tag (</Textbox>). I have all the requried assembly references. I am not suer what I am doing wrong. Any help would be appreciated.

Parents
  • 34510
    Offline posted

    Hi Ajayveer,

    I created a sample following that article and I haven't run into any issues.  The sample has been attached to this post.  Can you check what differences you might have between your project and mine.

    WpfApplication2.zip
Reply Children
No Data