Hi my appointments have a active flag and when it's false, I would like the delete button to hide. I was reading that I should edit the schedule view xaml code but my bindings aren't correct. Any ideas?
<
telerik:RadButton
x:Name
=
"DeleteButton"
Style
=
"{StaticResource DeleteButtonStyle}"
Command
=
"{x:Static local:RadScheduleViewCommands.DeleteAppointment}"
ClickMode
=
"Press"
CommandParameter
=
"{Binding RelativeSource={RelativeSource TemplatedParent}}"
Visibility
=
"{Binding Active, Converter={StaticResource BooleanToVisibilityConverter}}"
IsTabStop
=
"False"
/>