HighImportance Template

2 posts, 0 answers
  1. Michele
    Michele avatar
    30 posts
    Member since:
    Mar 2008

    Posted 27 Mar 2012 Link to this post

    how can I change the icon related to Importance (=High) property of the appointment (in the AppointmentTemnplate)?

    thanks, michele
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 30 Mar 2012 Link to this post

    Hi Michele,

    Are you refering to the Metro theme?
    In order to change the importance icon you need to edit the template of the AppointmentItem. In each horizontal and vertical templates there are 2 ContentControls for low and high importance which has specific templates. Find the HighImportanceMarkTemplate and change it according to your requirements. Then you can apply only the appointment item using the OrientedAppointmentItemStyleSelector of the ScheduleView. Through a Setter set the Template property of the horizontal and vertical styles of the AppointmentItem, for example:

                <Style TargetType="telerik:AppointmentItem">
                    <Setter Property="Template" Value="{StaticResource AppointmentItemVerticalControlTemplate}" />
                    <Setter Property="Margin" Value="1 0 0 0" />

    More information on the appointment styling you could find in this help article.

    Hope this information is helpful.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top