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
135
Right click activities selection
posted

Hi,

how can you enable a right mouse click to select an activity?

  • 27093
    Verified Answer
    posted

    Hello,

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

    If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.

  • 27093
    Verified Answer
    posted

    Hello, 

    I have been looking into your enquiry and can suggest you create a Style for you activity like:

    <Style TargetType="{x:Type igPrim:AppointmentPresenter}"> 
        <EventSetter  Event="MouseRightButtonDown" Handler="app_MouseRightButtonDown" />
    </Style>

    And its handler use code like: 

    void app_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
    {
        xamOutlookView.SelectedActivities.Add((sender as AppointmentPresenter).Activity);
    }
     

    Please let me know, if I can be of any further assistance on the matter.