Double click on appointment doesn work

3 posts, 1 answers
  1. Lennart Bauer
    Lennart Bauer avatar
    22 posts
    Member since:
    Oct 2009

    Posted 12 Oct 2012 Link to this post

    Hi!
    I have made a customized appointment view selector by copying the template in Expression and specified the new to be used by the Control:

    AppointmentStyleSelector="{DynamicResource ScheduleViewStyleSelector1}"

    Everything works fine and all appointments are displayed using the new selector.
    But now, double clicking an appointment doesn't work anymore. The Edit appointment dialog is not displayed.

    Why does it behave like this?
  2. Answer
    Kshamesh
    Kshamesh avatar
    16 posts
    Member since:
    Aug 2012

    Posted 12 Oct 2012 Link to this post

    Your styles are stripping the InputBindings after you apply the styling, you need to explicitly define you MouseBindings again in your styles, check out this link - http://www.telerik.com/community/forums/wpf/scheduleview/appointment-editing-does-not-work-after-adding-style-selector.aspx

    Hope it helps,
    Kshamesh
  3. UI for WPF is Visual Studio 2017 Ready
  4. Lennart Bauer
    Lennart Bauer avatar
    22 posts
    Member since:
    Oct 2009

    Posted 13 Oct 2012 Link to this post

    Thanks!

    That solved it.
Back to Top