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

ScrollBox.Top Attached Property

Gets or sets the y-axis value of a child control’s top edge. This is an attached property.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Package: DevExpress.Wpf.LayoutControl

#Declaration

#Returns

Type Description
Double

A Double value that specifies the y-axis value of a child control’s top edge.

#Remarks

You can use the ScrollBox.Left and ScrollBox.Top properties to freely position child controls within a ScrollBox.

The ScrollBox‘s LayoutControlBase.Padding inherited property affects the offset of the client area where child controls reside. Therefore, this property affects the offsets of the child controls from the ScrollBox’s left and top edges.

See Also