System.Windows.Forms.TreeView.TopNode Property

Gets or sets the first fully-visible tree node in the tree view control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public TreeNode TopNode { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Initially, the TreeView.TopNode returns the first root tree node, which is located at the top of the System.Windows.Forms.TreeView. However, if the user has scrolled the contents, another tree node might be at the top.

Note:

Setting this property has no effect when the TreeView.Scrollable property value is false.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0