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
60
line between owners?
posted

I'd like to have a more visible separation between owners. I could color the timeslots, but do you have any suggestion? 

Parents
No Data
Reply
  • 23930
    Verified Answer
    Offline posted

    Hi Virginia,

    Thank you for posting in our forums.

    What you could do in this case is to use the DrawFilter interface to draw the borders around the owners in the DayView. For more information on the DrawFilter interface, please visit this link:

    http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/HTML/Win_Draw_Filter.html

    In the GetPhasesToFilter method of the DrawFilter you need to get the GroupUIElement which contains the different owners and then return its AfterDrawChildElements phase. In the DrawElement method, you could use the drawParams argument’s DrawBorder method in order to create a bigger separation between the owners.

    I have attached a sample which demonstrates this suggestion.

    Please let me know if you have any additional questions.

    WS_OwnerSeparation.zip
Children
No Data