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
355
XamScheduleView Activity height and colour
posted

Hello Support,

Is there any way to manually set the height and colour of an activity in XamScheduleView. We use infragistics v10.3.

Looking forward for your reply

 

Parents
  • 22015
    posted

    Hello Rheal Tech,

     

    Thank you for your post!

     

    I have been looking into it and have created a small sample application for you. In the sample application I have a property of type Color in the Data, that I bind to the XamSchedule.

    This property I map to the BorderColor in the MetadataPropertyMappingCollection of the XamSchedule, in order to get that color from the data, instead the computed color for the XamSchedule.

    Then in the CustomScheduleResources file I change the default template for the ActivityPresenter to also use the custom color for the Appointments.

     

    Please find the sample application attached and feel free to let me know if you have any further questions on this matter.

    Schedule_ScheduleViewAppBackground.zip
Reply Children
No Data