InplaceEditorEventArgs.Bounds Property
Gets or sets the width, height and location of the in-place editor.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
Rect | An instance of the Rect structure. |
Remarks
Important
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.
Use the Bounds property to specify the size of an in-place editor, and its location relative to the processed appointment.
Example
This example demonstrates how to replace the standard in-place editor with a custom one via the SchedulerControl.InplaceEditorShowing event.
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-an-in-place-editor-e2864.
<dxsch:SchedulerControl Name="schedulerControl1"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
InplaceEditorShowing="schedulerControl1_InplaceEditorShowing">
</dxsch:SchedulerControl>
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Bounds property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.