How to hide(control the Visibility ,not remove) the Delete Button of an Appointment?

2 posts, 0 answers
  1. Carlos
    Carlos avatar
    6 posts
    Member since:
    Aug 2012

    Posted 27 Aug 2012 Link to this post

    I want to hide(not remove) the small icon of Delete button in the xaml just like <telerik:RadScheduleView x:Name="ScheduleView" IsCanDelete="False"/>,but I don't know how can I achieve it. Can you help me?
  2. Vladi
    Vladi avatar
    749 posts

    Posted 30 Aug 2012 Link to this post

    Hello Carlos,

    Since the delete button is located in the control template of the appointment item, you need to modify the vertical and the horizontal control templates of the appointment.

    I created and attached a sample project that shows how to set the Visibility="Collapsed" property to the delete button in the two control templates, take a look at it. The project uses Implicit Styles to customize the theme.

    Hope this is helpful.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top