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…