Back to Devexpress

SchedulerInplaceEditorEventArgs.Bounds Property

windowsforms-devexpress-dot-xtrascheduler-dot-schedulerinplaceeditoreventargs-8c1906f9.md

latest2.9 KB
Original Source

SchedulerInplaceEditorEventArgs.Bounds Property

Gets or sets the size and location of the inplace editor.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public Rectangle Bounds { get; set; }
vb
Public Property Bounds As Rectangle

Property Value

TypeDescription
Rectangle

A Rectangle object that represents the size and location of the inplace editor control, in pixels.

|

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.

how-to-implement-a-custom-inplace-editor-for-appointments-e4826/CS/SchedulerInplaceEditorExample/MyInplaceEditor.cs#L27

csharp
if (inplaceEditorArgs.UseFullCellEditor) {
    this.Bounds = control.RectangleToScreen(inplaceEditorArgs.Bounds);
    DevExpress.Skins.Skin currentSkin = DevExpress.Skins.SchedulerSkins.GetSkin(control.LookAndFeel);

how-to-implement-a-custom-inplace-editor-for-appointments-e4826/VB/SchedulerInplaceEditorExample/MyInplaceEditor.vb#L29

vb
If inplaceEditorArgs.UseFullCellEditor Then
    Me.Bounds = control.RectangleToScreen(inplaceEditorArgs.Bounds)
    Dim currentSkin As DevExpress.Skins.Skin = DevExpress.Skins.SchedulerSkins.GetSkin(control.LookAndFeel)

See Also

SchedulerInplaceEditorEventArgs Class

SchedulerInplaceEditorEventArgs Members

DevExpress.XtraScheduler Namespace