Skip to main content

DayViewScrollViewer.ViewportBounds Property

Gets the location and size of the Day View or Work-Week View content’s viewport.

Namespace: DevExpress.Xpf.Scheduler.Drawing

Assembly: DevExpress.Xpf.Scheduler.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public Rect ViewportBounds { get; }

Property Value

Type Description
Rect

A Rect structure instance.

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 ViewportBounds property to determine the location of the top-left corner and the size (width and height) of the Scheduler control area where the view content can be scrolled.

See Also