This is a migrated thread and some comments may be shown as answers.

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

1 Answer 52 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 28 Aug 2012, 01:01 AM
Hi,
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?

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 30 Aug 2012, 07:48 AM
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,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Carlos
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or