Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ScrollControl.ScrollAreaSize Property

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

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public Size ScrollAreaSize { get; }

#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