Skip to main content
A newer version of this page is available. .

ScrollBox.GetTop(UIElement) Method

Returns the value of the ScrollBox.Top attached property for the specified UIElement object.

Namespace: DevExpress.Xpf.LayoutControl

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public static double GetTop(
    UIElement element
)

Parameters

Name Type Description
element UIElement

An object whose ScrollBox.Top property’s value is to be returned.

Returns

Type Description
Double

The value of the ScrollBox.Top property for the specified UIElement object.

See Also