Skip to main content

TreeList.TopVisibleNodePixel Property

Gets or sets the vertical scroll position of the top node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[Browsable(false)]
public int TopVisibleNodePixel { get; set; }

Property Value

Type Description
Int32

A System.Int32 value that specifies the vertical scroll position of the top node

Remarks

This property is in effect if the pixel scrolling is enabled (see TreeListOptionsBehavior.AllowPixelScrolling).

If the total height of all nodes exceeds the TreeList control’s client area, end-users can scroll the control content vertically. You can use the TopVisibleNodePixel property to obtain the vertical scroll position of the top node. Assigning a value to this property results in scrolling to the specified scroll position.

See Also