ScrollControl.Offset Property

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

Namespace: DevExpress.Xpf.Core

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

Declaration

public Point Offset { get; }
Public ReadOnly Property Offset As Point

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.

Implements

DevExpress.Xpf.Core.IScrollControl.Offset
See Also