menu items

  1. S

    Responding to context menu.

    I have a context menu in a view that calls the correct handler, but the command parameter is not being passed. <TextBlock DockPanel.Dock="Left" Margin="0,3,1,0" VerticalAlignment="Center"> <TextBlock.ContextMenu> <ContextMenu>...
  2. destro

    Resolved How to set click event for primary menu items in xaml?

    My Menu is perfectly bound with observable collection in view model and all submenu items fires click event properly using below xaml, but I am unable to set the same click event for first menu items. Is it possible to set same click event on all primary menu items? <Menu Background="Lavender"...
  3. destro

    Resolved How to bind Menu items with observableCollection in xaml and wpf?

    I can assign them using <Menuitem Header> but how to view all the items present in the Observable collection in a view model? <Menu Grid.Row="1" Grid.Column="1" Width="100" VerticalAlignment="Center" Background="Gray"> <MenuItem Header="Item Collection"> <MenuItem...
Back
Top Bottom