Syncfusion.SfSchedule.WPF


Appointments Property (SfSchedule)

Gets or sets the schedule appointments.
Syntax
'Declaration
 
Public Property Appointments As ScheduleAppointmentCollection
'Usage
 
Dim instance As SfSchedule
Dim value As ScheduleAppointmentCollection
 
instance.Appointments = value
 
value = instance.Appointments
public ScheduleAppointmentCollection Appointments {get; set;}
Example
using System; using Syncfusion.UI.Xaml.Schedule; namespace ScheduleDemo { public sealed partial class ScheduleSample { public ScheduleSample() { this.InitializeComponent(); SfSchedule schedule = new SfSchedule(); schedule.Appointments.Add(new ScheduleAppointment { Subject = "Meeting", StartTime = DateTime.Now.Date.AddHours(9), EndTime = DateTime.Now.Date.AddHours(12) }); Layout.Children.Add(schedule); } } }
AssemblyVersion

Syncfusion.SfSchedule.WPF: 17.4460.0.39

See Also