Browse By Tags

  • Presenting enum values inside a menu tool

    Hi.

    I'm learning to use menu tool. I'd like the menu to hold values given by an enum and use them as a parameter for a command. Is that possible?

     

    Thanks,

    Izhar Lotem

  • Commands in Gallery

    Hello,

    my problem is that the custom command I bound to the MenuTool surrounding a GalleryTool isn't executed. The CommandBindings are set correctly, because the same thing with an MenuTool containing Buttons works quite fine.

    galleryMenu.Command…

  • Re: Commands in Gallery

    Thanks for the hint Andrew. I tried the solution with the ItemClicked Event, but it was already handled. So I use the PreviewMouseLeftButtonUp Event instead.

    galleryMenu.PreviewMouseLeftButtonUp += new MouseButtonEventHandler(this.GalleryMenuPreviewMouseLeftButtonUp…