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
500
Multiple select context menu
posted

Hi,

I have made a contextmenu with  IsCheckable = true set for the menuitems. The Idea is naturally to have a multiselect menu. But when an item is selected in the menu, it closes.

The preffered behaveour would be to have the menu staying open till all selections have been done, and then close it with OK or Cancel button.

Can this be done, and if so how?

Regards Jorvart

Parents
No Data
Reply
  • 5595
    posted

    Hi,

    You could try also setting StaysOpenOnClick property to True, e.g.:

    <ig:XamContextMenu>

    <ig:XamMenuItem Header="Item1" IsCheckable="True" StaysOpenOnClick="True"/>

    <ig:XamMenuItem Header="Item2" IsCheckable="True" StaysOpenOnClick="True"/>

    <ig:XamMenuItem Header="Item3" IsCheckable="True" StaysOpenOnClick="True"/>

    <ig:XamMenuItem Header="OK"/>

    </ig:XamContextMenu>

     

    HTH,

Children