none
WPF window invoked from Excel, Context menu shows and disappears immediately RRS feed

  • Question

  • Hi,

    [Not sure if this is a question for WPF or VSTO]

    I have a WPF window which has a ItemsControl which contains list of User controls. Each user control has a button and a list box. On the button i have a context menu which lists some option.

    When i ran the WPF window directly the context menu works perfectly. Now i have integrated the WPF form in a excel add in. on click of a button in addin the window show up. This works fine

    But when the window is called from addin and i right click the button to see the context menu options, it comes and immediately disappears.

    Any idea what i am missing here ?

    • Shankar

    Girija Shankar Beuria
    • Moved by Sheldon _Xiao Tuesday, October 11, 2011 7:00 AM (From:Windows Presentation Foundation (WPF))
    Saturday, October 8, 2011 4:00 AM

Answers

All replies