Back to Devexpress

TreeList.TopVisibleNodePixel Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-6cc2ba25.md

latest2.0 KB
Original Source

TreeList.TopVisibleNodePixel Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public int TopVisibleNodePixel { get; set; }
vb
<Browsable(False)>
Public Property TopVisibleNodePixel As Integer

Property Value

TypeDescription
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

AllowPixelScrolling

TopVisibleNodeIndex

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace