Skip to content

TreeView

ProGraMajster edited this page Mar 28, 2026 · 1 revision

TreeView

← Back to Control Inventory

Summary

Represents a TreeView control.

Example

var tree = new TreeView();
// Add items according to your tree model setup.

Documented Properties

Name Summary
DefaultSize No XML summary yet.
DrawMode Gets or sets a value indicating who will perform the tree node painting.
Items Gets the collection of items contained by this TreeView.
SelectedItem Gets or sets the currently selected TreeViewItem.
ShowDropdownGlyph Gets or sets a value indicating the drop down glyph should be shown.
ShowItemImages Gets or sets a value indicating item images should be shown.
Style No XML summary yet.
VirtualMode Gets or sets a value indicating if TreeViewItem nodes will be resolved when expanded.

Documented Methods

Name Summary
#ctor Initializes a new instance of the TreeView class.
FindString Finds the index of the next item after startIndex that begins with the specified string. This search is case-insensitive.
GetItemAtLocation Returns the TreeViewItem at the specified location.
OnBeforeExpand Raises the BeforeExpand event.
OnClick No XML summary yet.
OnDoubleClick No XML summary yet.
OnDrawNode Raises the event.
OnItemSelected Raises the ItemSelected event.
OnKeyDown No XML summary yet.
OnMouseWheel No XML summary yet.
OnPaint No XML summary yet.
SetBoundsCore No XML summary yet.

Documented Events

Name Summary
BeforeExpand Raised before a node is expanded.
DrawNode Raised when TreeView needs an owner drawn node painted.
ItemSelected Raised when an item is selected.

Notes

  • This page was generated from the public XML documentation of ModernFormsNext.
  • Base members inherited from Control, ScrollableControl, WindowBase, or other parent types may not all be repeated here.

ModernFormsNext

Clone this wiki locally