dxScheduler
Namespace: Wisej.Web.Ext.DevExtreme
Assembly: Wisej.Web.Ext.DevExtreme (4.1.0.0)
The Scheduler is a widget that represents scheduled data and allows a user to manage and edit it.
- C#
- VB.NET
public class dxScheduler : dxBase
Public Class dxScheduler
Inherits dxBase
Constructors
dxScheduler()
Constructs a new instance of the dxScheduler class.
Example:
The following example creates a scheduler that shows two appointments in the work week view.
var scheduler = new dxScheduler();
scheduler.Options.dataSource = new[]
{
new { text = "Team meeting", startDate = "2026-05-18T09:00:00", endDate = "2026-05-18T10:30:00" },
new { text = "Customer call", startDate = "2026-05-19T14:00:00", endDate = "2026-05-19T15:00:00" }
};
scheduler.Options.currentView = "workWeek";
scheduler.Options.currentDate = "2026-05-18";
scheduler.Dock = DockStyle.Fill;
this.Controls.Add(scheduler);
dxScheduler(options)
Constructs a new instance of the dxScheduler class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a scheduler limited to the working hours and shows the appointment clicked by the user.
var scheduler = new dxScheduler(new
{
dataSource = appointments,
views = new[] { "day", "week", "month" },
currentView = "week",
currentDate = "2026-05-18",
startDayHour = 8,
endDayHour = 19
});
scheduler.Instance.onAppointmentClick += new WidgetEventHandler((s, e) =>
{
AlertBox.Show($"Appointment: {e.Data.appointmentData.text}");
});
scheduler.Dock = DockStyle.Fill;
this.Controls.Add(scheduler);