The Treeview type exposes the following members.

Constructors

  NameDescription
Public methodTreeview(String, Font, Int32, Int32, Int32, Int32)
Initializes a new instance of the Treeview class
Public methodTreeview(String, Font, Int32, Int32, Int32, Int32, array<TreeviewNode>[]()[][])
Initializes a new instance of the Treeview class

Methods

  NameDescription
Public methodActivate
Activates the control
(Inherited from Control.)
Public methodAddNode
Adds a node
Public methodBlur
Deactivates the control
(Inherited from Control.)
Protected methodButtonPressedMessage
Override this message to handle button pressed events internally.
(Inherited from Control.)
Protected methodButtonReleasedMessage
Override this message to handle button released events internally.
(Inherited from Control.)
Protected methodChildCollapsed
Protected methodChildExpanded
Public methodClearNodes
Removes all nodes
Public methodDispose
Disposes the control
(Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHitTest
Checks if a point is inside of the control
(Inherited from Control.)
Public methodInvalidate()()()()
Safely redraws control
(Inherited from Control.)
Public methodInvalidate(rect)
Safely redraws control
(Inherited from Control.)
Protected methodKeyboardAltKeyMessage
Override this message to handle alt key events internally.
(Inherited from Control.)
Protected methodKeyboardKeyMessage
Override this message to handle key events internally.
(Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnButtonPressed
Fires the ButtonPressed event
(Inherited from Control.)
Protected methodOnButtonReleased
Fires the ButtonReleased event
(Inherited from Control.)
Protected methodOnDoubleTap
Fires the DoubleTap event
(Inherited from Control.)
Protected methodOnGotFocus
Fires the GotFocus event
(Inherited from Control.)
Protected methodOnKeyboardAltKey
Fires the KeyboardAltKey event
(Inherited from Control.)
Protected methodOnKeyboardKey
Fires the KeyboardKey event
(Inherited from Control.)
Protected methodOnLostFocus
Fires the LostFocus event
(Inherited from Control.)
Protected methodOnNodeCollapsed
Protected methodOnNodeExpanded
Protected methodOnNodeTap
Protected methodOnRender (Overrides ScrollableControl..::..OnRender(Int32, Int32, Int32, Int32).)
Public methodOnTap
Fires the Tap event
(Inherited from Control.)
Public methodOnTapHold
Fires the TapHold event
(Inherited from Control.)
Public methodOnTouchDown
Fires the TouchDown event
(Inherited from Control.)
Public methodOnTouchGesture
Fires the TouchGesture event
(Inherited from Control.)
Public methodOnTouchMove
Fires the TouchMove event
(Inherited from Control.)
Public methodOnTouchUp
Fires the TouchUp event
(Inherited from Control.)
Public methodRemoveNode
Removes a specific node
Public methodRemoveNodeAt
Removes a node from a specific point in the array
Public methodRender
Unsafely renders control
(Inherited from Control.)
Public methodSendButtonEvent
Directly inform control of button events
(Inherited from Control.)
Public methodSendKeyboardAltKeyEvent
Directly inform control of keyboard alt key events
(Inherited from Control.)
Public methodSendKeyboardKeyEvent
Directly inform control of keyboard key events
(Inherited from Control.)
Public methodSendTouchDown
Directly inform control of touch down event
(Inherited from Control.)
Public methodSendTouchGesture
Directly inform control of touch gesture event
(Inherited from Control.)
Public methodSendTouchMove
Directly inform control of touch move event
(Inherited from Control.)
Public methodSendTouchUp
Directly inform control of touch up event
(Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTouchDownMessage (Overrides Control..::..TouchDownMessage(Object, point, Boolean%).)
Protected methodTouchGestureMessage
Override this message to handle touch events internally.
(Inherited from Control.)
Protected methodTouchMoveMessage
Override this message to handle touch events internally.
(Inherited from ScrollableControl.)
Protected methodTouchUpMessage (Overrides ScrollableControl..::..TouchUpMessage(Object, point, Boolean%).)
Public methodUpdateOffsets()()()()
Update the X/Y position offset of the control
(Inherited from Control.)
Public methodUpdateOffsets(point)
Update the X/Y position offset of the control
(Inherited from Control.)
Protected methodUpdateScrollbar
Updates the visibility state of the scrollbars
(Inherited from ScrollableControl.)

Properties

  NameDescription
Public propertyCanFocus
Gets the controls ability to receive focus
(Inherited from Control.)
Public propertyDisposing
Gets the disposing state of the control
(Inherited from Control.)
Public propertyEnabled
Gets/Sets the enabled state of the control
(Inherited from Control.)
Public propertyFocused
Gets if the control is currently focused
(Inherited from Control.)
Public propertyHeight
Gets/Sets the height of the control in pixels
(Inherited from Control.)
Protected propertyInternalSuspended
Allows internally direct access to the Suspended flag of the control
(Inherited from Control.)
Public propertyLastTouch
Gets the coordinates of the last point touched
(Inherited from Control.)
Public propertyLeft
Gets the absolute X position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyLength
Gets number of nodes
Public propertyLocation
Gets or sets the location of the control
(Inherited from Control.)
Public propertyMaxScrollX
Gets/Sets maximum X scroll value
(Inherited from ScrollableControl.)
Public propertyMaxScrollY
Gets/Sets maximum Y scroll value
(Inherited from ScrollableControl.)
Public propertyName
Gets the name of the control
(Inherited from Control.)
Public propertyNodes
Public propertyParent
Gets/Sets the control's container
(Inherited from Control.)
Protected propertyRequiredHeight
Gets/Sets the maximum required height
(Inherited from ScrollableControl.)
Protected propertyRequiredWidth
Gets/Sets the maximum required width
(Inherited from ScrollableControl.)
Public propertyScreenBounds
Gets the exact location of the control in pixels on the screen
(Inherited from Control.)
Public propertyScrolling
Gets current scroll state
(Inherited from ScrollableControl.)
Public propertyScrollX
Gets/Sets current X scroll value
(Inherited from ScrollableControl.)
Public propertyScrollY
Gets/Sets current Y scroll value
(Inherited from ScrollableControl.)
Public propertySelectedNode
Gets/Sets selected node
Public propertySelectedTextColor
Public propertySuspended
Gets/Sets the suspended state
(Inherited from Control.)
Public propertyTag
Gets or sets a user defined tag for the control
(Inherited from Control.)
Public propertyTextColor
Public propertyTop
Gets the absolute Y position of the control accounting for parental offsets
(Inherited from Control.)
Public propertyTouching
Gets the current touch state of the control
(Inherited from Control.)
Public propertyVisible
Gets/Sets the visibility of the control
(Inherited from Control.)
Public propertyWidth
Gets/Sets the width of the control in pixels
(Inherited from Control.)
Public propertyX
Gets/Sets the X position in pixels
(Inherited from Control.)
Public propertyY
Gets/Sets the Y position in pixels
(Inherited from Control.)

Events

  NameDescription
Public eventButtonPressed
Adds or removes callback methods for ButtonPressed events
(Inherited from Control.)
Public eventButtonReleased
Adds or removes callback methods for ButtonReleased events
(Inherited from Control.)
Public eventDoubleTap
Adds or removes callback methods for DoubleTap events
(Inherited from Control.)
Public eventGotFocus
Adds or removes callback methods for GotFocus events
(Inherited from Control.)
Public eventKeyboardAltKey
Adds or removes callback methods for KeyboardAltKey events
(Inherited from Control.)
Public eventKeyboardKey
Adds or removes callback methods for KeyboardKey events
(Inherited from Control.)
Public eventLostFocus
Adds or removes callback methods for LostFocus events
(Inherited from Control.)
Public eventNodeCollapsed
Public eventNodeExpanded
Public eventNodeTapped
Public eventTap
Adds or removes callback methods for Tap events
(Inherited from Control.)
Public eventTapHold
Adds or removes callback methods for TapHold events
(Inherited from Control.)
Public eventTouchDown
Adds or removes callback methods for TouchDown events
(Inherited from Control.)
Public eventTouchGesture
Adds or removes callback methods for TouchGesture events
(Inherited from Control.)
Public eventTouchMove
Adds or removes callback methods for TouchMove events
(Inherited from Control.)
Public eventTouchUp
Adds or removes callback methods for TouchUp events
(Inherited from Control.)

See Also