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
725
Custom Styling of Appointments
posted

Can someone give a sample code to create custom styles for appointment presenter? I looked up a few previous posts and tried writing one based on the sample from the default skin , but i do not see my contents getting rendered. I am using my custom types for Appointment and doing property mapping, and my data tempate is for the ActivityBase.DataItem.

Please Suggest.

Thank You,

Hariharan  

 

 

  • 54937
    Offline posted

    There are some similar questions in the Silverlight xamSchedule forum and the same template should work. Here's one example. I would recommend using the default xaml we provide (e.g. C:\Program Files\Infragistics\NetAdvantage 2010.3\WPF\DefaultStyles) as the basis for your custom AppointmentPresenter control template. You can use the MetadataPropertyMappings as I mentioned in another response here and then bind to that property within the appointment's Metadata.