Skip to main content

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.v23.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