ScrollControl.ScrollAreaSize Property

Gets the size of the scrollable area within the current ScrollControl.

Namespace: DevExpress.Xpf.Core

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

Declaration

public Size ScrollAreaSize { get; }
Public ReadOnly Property ScrollAreaSize As Size

Property Value

Type Description
Size

A System.Windows.Size object that specifies the scrollable area within the current ScrollControl.

Remarks

The content within a scrollable layout control (the ScrollControl class descendant) can be scrolled via ScrollControl.ScrollBars, the drag scroll feature (see the ScrollControl.DragScrolling link) or mouse scroll button. The ScrollAreaSize property stores the width and height of the scrollable area within the current ScrollControl. Specifically, the ScrollAreaSize property value is the total size of a control's content.

See Also