Provides all the settings which are required to edit a particular appointment in a custom in-place editor.
public class AppointmentInplaceEditorBase : UserControl, ISchedulerInplaceEditorEx, IDisposable
Public Class AppointmentInplaceEditorBase Inherits UserControl Implements ISchedulerInplaceEditorEx, IDisposable
You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
The AppointmentInplaceEditorBase class enables you to create your own custom in-place editor, and use it instead of the default editor. It can be helpful, for example, when it is necessary to create something between an Edit Appointment form and simple subject in-place editor.
This example illustrates how to create a custom in-place editor using the AppointmentInplaceEditorBase class.
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-an-in-place-editor-e2864.
Partial Public Class CustomInplaceEditor Inherits AppointmentInplaceEditorBase Public Sub New(ByVal control As SchedulerControl, ByVal apt As Appointment) MyBase.New(control, apt) InitializeComponent() End Sub Private Sub OK_button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) OnCommitChanges() End Sub Private Sub Cancel_button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs) OnRollbackChanges() End Sub End Class