Special slots overlapping

8 posts, 1 answers
  1. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 27 Oct 2015 Link to this post

    We are planning to use the ScheduleView for showing appointments and also a host of other events such as lunch times, sick days, meetings, etc. I understand that for the latter, I would use the special slot mechanism. However, I have the requirement that these special slots should be able to overlap, even cover, each other.

    My search in this forum regarding this seems to suggest that it is not possible (though some old posts mention a z-order property that might be use for that).

    Can you confirm whether it is possible or not, or can you suggest a way to achieve this.

    Thanks.

  2. Answer
    Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 29 Oct 2015 Link to this post

    Hello Claire,

    It is possible to overlap the special slots, however indeed you would need to set the Panel.Zindex property for the different Slot types.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 29 Oct 2015 in reply to Kalin Link to this post

    Thanks.

    We would then need to assign a priority to each type based on some criterion. I will take a look at it.

    In the meanwhile, I had started to implement our "special slots" as different types of appointment and having them displayed side by side. While that works, it brings some other issues. But that's another story.

  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 30 Oct 2015 Link to this post

    Hello Claire,

    Can you please some more details regarding the exact issues you have faced? If you manage to isolate the issues in sample project and send it to us - we will be glad to investigate them on our side and provide further assistance.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 30 Oct 2015 in reply to Kalin Link to this post

    The special slots cannot be used as one could completely cover the other, thus making the latter invisible to the user. We would need to have them displayed side by side, as can be done with appointments.

    I have started a new thread concerning the issues I mentioned since they have nothing to do with the subject of this thread (but I believe I found a solution to said issues).

  7. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 03 Nov 2015 Link to this post

    Hello Claire,

    What I can suggest you would be to implement one additional special Slot Style containing both of the needed colors. This way depending on the custom logic you could return that Style in the StyleSelector for the overlapped slots.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  8. Claire
    Claire avatar
    24 posts
    Member since:
    Apr 2015

    Posted 03 Nov 2015 in reply to Kalin Link to this post

    Thanks for your suggestion.

    I realize that my original post may have been incorrectly or incompletely formulated. Our "special slots" represent events that may be simultaneous, and they must be not only visible but also accessible, i.e. the user must be able to select any of them in order to edit it. That would be hard to achieve with the "special slot" mechanism, but if we define these events as another type of appointment (besides the "real" appointments), that solves the issue.

     

  9. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 04 Nov 2015 Link to this post

    Hi Claire,

    I'm glad you found a suitable solution. If you have any other questions, please let us know.

    Regards,
    Kalin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready