- Hi,,
Am Using MVVM ,
Is It Possible to bind Selected Appointment from Schedulview to local Variable.
I try the Following Code ,
in xaml
<telerik:RadScheduleView
Grid.Row="1"
Name="xRadScheduleView"
SelectedAppointments="{Binding MyAppointments}" >
in ViewModel
private Appointment _MyAppointments;
publicAppointment MyAppointments
{ get { return _MyAppointments; }
set { if (value == _MyAppointments)
return;
_MyAppointments =value;
on propertychanged("MyAppointments");
}}
dim DateFrom as datetime= MyAppointments.start();
dim DateTo as datetime= MyAppointments.End();