context menu issue

1 reply. Last post: March 11, 2013 2:31 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

I get this error (see attached) when I try and use context menu and how to I use with MVVM - can I simply use Command={Binding DoSomething} - thanks

  
            <Intersoft:UXContextMenu x:Name="SampleControl1">
                <Intersoft:UXMenuItem Header="Edit" />
                <Intersoft:UXMenuItem Header="Delete"  />
            </Intersoft:UXContextMenu>
            <Intersoft:UXGridView Name="MainGrid" Margin="0,0,0,5" AutoGenerateColumns="False"  CanUserGroupColumns="True" CheckedItems="{Binding CheckedItems, Mode=TwoWay}"
                                  CanUserPage="True" GridLinesVisibility="Horizontal" Intersoft:ContextMenuService.ContextMenu="SampleControl1"
                                  GroupByBoxVisibility="{Binding GroupByBoxVisibility, Converter={StaticResource VisibilityConverter}}"
                                  IsBusy="{Binding IsBusy, Mode=TwoWay}" ItemsSource="{Binding Path=GridList, Mode=TwoWay}" IsTabStop="False"
                                  PageSize="{Binding PageSize, Mode=TwoWay}" SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}" SelectedIndex="{Binding SelectedIndex,Mode=TwoWay}"
                                  Intersoft:DockPanel.IsFillElement="True" CanUserExport="True" AutoEditOperation="False" AlternatingRowBackground="{x:Null}" Background="White">

 

All times are GMT -5. The time now is 10:27 PM.
Previous Next