ContextMenuEventProcessor show up a context menu when user right click on a control.

 <bc:ContextMenuEventProcessor>
   <bc:ContextMenuEventProcessor.ContextMenu>
         <ContextMenu ItemsSource="{Binding Commands.ToolbarCommands.CommandModels.All}" 
            ItemContainerStyle="{StaticResource CommandModelContextMenuMenuItemStyle}" />
   </bc:ContextMenuEventProcessor.ContextMenu>
</bc:ContextMenuEventProcessor>



Touch is enabled by the dotNet Framework, which generate a RightMouseDownEvent when touch and hold. To use it, user have to touch and hold (but not drag) to show the context menu, if dragged MultiSelectEventProcessor is triggered instead.

Last edited Mar 7, 2014 at 10:43 AM by lycj, version 1

Comments

No comments yet.