check if appointment should be displayed

4 posts, 0 answers
  1. Elgan
    Elgan avatar
    9 posts
    Member since:
    Nov 2012

    Posted 05 Dec 2012 Link to this post

    I am trying to check in the appointmentFilter if the appointment will be displayed on the current view. 

    How can I do this?


                
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Dec 2012 Link to this post

    Hi Elgar,

    Could you please explain the requirement in more details?

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Elgan
    Elgan avatar
    9 posts
    Member since:
    Nov 2012

    Posted 06 Dec 2012 Link to this post

    An appointmentFilter seems to loop all appointments, correct?

    While going through the filter. I want to check if an appointment will be displayed on the current view definition. 
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 11 Dec 2012 Link to this post

    Hi Elgan,

    You could bind CurrentDate property of the ScheduleView to a property in the ViewModel, so in this way you can find the VisibleRange of the current ViewDefinition ( here it is explained how the VisibleRange is configured for each ViewDefinition ) and you can check in the AppointmentsFilter whether the current appointment will be displayed. 

    Regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top