2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
You can get the dropped resource of SfSchedule in Xamarin.Forms using DropResourceItem in the AppointmentDrop event. XAML <syncfusion:SfSchedule x:Name="schedule" AllowAppointmentDrag="true" ScheduleView="TimelineView" DataSource="{Binding Events}" ScheduleResources="{Binding Employees}" SelectedResources="{Binding SelectedEmployees}" ShowResourceView="True" ResourceViewMode="Absolute"/> C# public class SchedulerPageBehavior : Behavior<ContentPage> { SfSchedule schedule; private void WireEvents() { this.schedule.AppointmentDrop += Schedule_AppointmentDrop; } private void Schedule_AppointmentDrop(object sender, AppointmentDropEventArgs e) { var changedResource = e.DropResourceItem; App.Current.MainPage.DisplayAlert("", "Resorce change into " + (changedResource as Employee).Name, "ok"); } private void UnWireEvents() { this.schedule.AppointmentDrop -= Schedule_AppointmentDrop; } } |
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.