Example #1
0
        private void OnLeftMouseUp(object sender, RoutedEventArgs e)
        {
            // Act as if right click. Open menu.
            Tray.ContextMenu.IsOpen = true;

            // Give focus back to the tray so that the TrayMouseDoubleClick event
            // can still be triggered.
            Tray.Focus();
        }