Skip to main content

ScrollControl.Offset Property

Gets a scrollable layout control’s offset. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public Point Offset { get; }

Property Value

Type Description
Point

A Point structure that is a scrollable layout control’s offset

Remarks

The content within a scrollable layout control can be scrolled via ScrollControl.ScrollBars, the drag scroll feature (see the ScrollControl.DragScrolling link) or mouse scroll button. The Offset property gets the scrolling offset in both vertical and horizontal dimensions.

To set a scrolling offset, use the ScrollControl.VerticalOffset and ScrollControl.HorizontalOffset properties or the ScrollControl.SetOffset method.

See Also