I want to capture the "close" event when the custom scheduler dialog box is closed below (i.e. clicking on the X button), how can I do so?
Thanks, Cheau
<ControlTemplate x:Key="EditAppointmentTemplate" TargetType="{x:Type telerik:SchedulerDialog}">
<Grid VerticalAlignment="Center" Margin="10">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Content="Number of Tap Activity" Height="25"/>
<telerik:RadNumericUpDown Grid.Column="1" Height="25" Width="50" NumberDecimalDigits="0" ValueFormat="Numeric" HorizontalAlignment="Left"
Value="{Binding Occurrence.Appointment.TapActivityNum, Mode=TwoWay}" />
</Grid>
</ControlTemplate>
<Style x:Key="EditAppointmentStyle" TargetType="telerik:SchedulerDialog">
<Setter Property="Width" Value="250" />
<Setter Property="Height" Value="100" />
<Setter Property="IsTabStop" Value="False" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="Template" Value="{StaticResource EditAppointmentTemplate}" />
<Setter Property="HeaderTemplate">
<Setter.Value>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Number of Tap Activity" />
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
</Style>