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
select a record on right click

How do I select a record on right click? 

  • 27093
    Verified Answer



    I have been looking into your issue and can suggest you create a Style for the DataRecordPresenter (the DataRecord’s visual element) with an EvenSetter like for the MouseRightButtonDown event like this one:


    <Style TargetType="{x:Type igDP:DataRecordPresenter}">

        <EventSetter Event="MouseRightButtonDown" Handler="DataRecordPresenter_MouseRightButtonDown" />



    and use this code snippets in its event handler:


    void DataRecordPresenter_MouseRightButtonDown(object sender, MouseButtonEventArgs e)


        (sender as DataRecordPresenter).Record.IsSelected = true;



    Please let me know if you require any further assistance or clarification on the matter.



    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria


Reply Children
No Data