Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
775
xamdatagrid contextmenu
posted

I have xamdatagrid and contextmenu

igDP:XamDataGrid.ContextMenu  >
      <ContextMenu      DataContext="{Binding RelativeSource={RelativeSource Mode=Self}, Path=PlacementTarget.DataContext}" AllowDrop="True" Name="cmAudit">
          <MenuItem  Header="a" />  
          <MenuItem  Header="a" />   ..so on 
       </ContextMenu>
 </igDP:XamDataGrid.ContextMenu  >
                               
When i rightclikc this contextmenu is displayed ..but i dont want to display when the user clicks on column header.
how to restrict it .