Flexible TreeView 5.1.9 Help
NodeControl Class Members
Properties  Methods  Events


The following tables list the members exposed by NodeControl.

Public Properties
 NameDescription
Public PropertyColumnId Gets or sets the identifier of the column where this node control will appear.  
Public PropertyColumnSpan Gets or sets the columns count to span by this node control.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyContentAlignGets or sets the node control content alignment within the occupied area. Useful when FillFreeSpace property is enabled. When the node control has many lines of text or FillFreeSpace property is enabled, changing this property may align those lines according to the node control bounds.  
Public PropertyCursor Gets or sets the mouse cursor for this node control.  
Public PropertyExcludeFromSelection Defines whether to do not highlight the node control in a selected or focused node.  
Public PropertyFillFreeSpace Gets or sets a value indicating whether the node control grabs all column or treeview rest width to draw itself. All node controls after this will be invisible.  
Public PropertyIsInternal Gets a value indicating whether the node control is for internal purposes only.  
Public PropertyPadding Gets or sets the node control padding size in pixels within control`s bounds.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySortable Gets or sets a value indicating whether the node control participate in the treeview sort process.  
Public PropertyTag Gets or sets the node control tag value.  
Public PropertyTreeview Gets or sets the treeview instance where the node control is hosting.  
Public PropertyVisibility Gets or sets a mode indicating when to show this node control in the node.  
Public PropertyVisibilityManager Gets or sets the visibility manager for this node control which controls this and other node controls` visibility from one point.  
Public PropertyVisible Gets or sets a value indicating whether the node control is visible or not.  
Public PropertyWrap Gets or sets a value indicating whether to move this node control under all previous node controls.  
Top
Protected Properties
 NameDescription
Protected PropertyCanRaiseEvents (Inherited from System.ComponentModel.Component)
Protected Internal PropertyColumnGets the column instance to which this node control belongs or NULL if it does not.  
Protected PropertyDesignMode (Inherited from System.ComponentModel.Component)
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Protected PropertyHostingHotNode Gets a node in which this node control is under the mouse cursor.  
Protected Internal PropertyStaticContent Gets a value indicating whether the node control has a static or dynamic content.  
Top
Public Methods
 NameDescription
Public MethodAttachTo Attaches this node control to the specified treeview.  
Public MethodAttachToColumn Link node control to the specified column where this node control will appear.  
Public MethodCompareNodes Compares two nodes by content that is bound to this node control.  
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded.  (Inherited from System.ComponentModel.Component)
Public MethodGetBounds Gets the node control bounds rectangle within the specified node.  
Public MethodGetFontOverloaded.  Gets the node control`s text font.  
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetTextColor Gets the text color according to the draw context state.  
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodToStringReturns a string that represents the current object.  
Top
Protected Methods
 NameDescription
Protected MethodApplyPaddingToRectAdds or removes, depends on the pAdd parameter, the node control padding to the specified rectangle.  
Protected MethodChangeCursor Changes the mouse cursor under node control.  
Protected MethodCheckIsAttached Checks whether node control is attached to the treeview and throws an exception if is not.  
Protected Internal MethodDraw Draws the node control within the specified node.  
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetColorById Get the color value by its identifier.  
Protected MethodGetHtmlTag Gets a HTML text tag under the mouse cursor.  
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodGetStyle Gets the node control style.  
Protected Internal MethodGetTooltipText Gets a tooltip text assigned to the current node control.  
Protected Internal MethodInvalidate Invalidates the node control and causes the control to be redrawn.  
Protected Internal MethodIsVisibleForNodeDetermines whether this node control is visible for the specified node. Node control has many ways to control the visibility within a node, like the node control filtration and Visibility property, but in a treeview with many nodes all of them may hurt the performance as they work with huge amount of static data where the particular node control`s visibility is stored. On the other hand, if you know when to show or hide this node control for every node, this method provide an efficient way to dynamically control the node control visibility without creation huge arrays with visibility settings.  
Protected Internal MethodKeyDown Occurs when a key is pressed.  
Protected Internal MethodKeyUp Occurs when a key is released.  
Protected MethodMeasureSize Measures size of the node control within the specified node.  
Protected MethodMeasureText Measures the specified text taking into account specified text settings.  
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected Internal MethodMouseCaptureLost Occurs when the treeview has lost the previously gained mouse capture.  
Protected Internal MethodMouseDoubleClick Occurs when the mouse button is double clicked over the node control.  
Protected Internal MethodMouseDown Occurs when the mouse button is pressed over the node control.  
Protected Internal MethodMouseDownPreProcess Occurs when the mouse button is pressed over the node control and before any other event handlers.  
Protected Internal MethodMouseEnter Occurs when the mouse cursor enters the node control.  
Protected Internal MethodMouseLeave Occurs when the mouse cursor leaves the node control.  
Protected Internal MethodMouseMove Occurs when the mouse cursor is moved over the node control.  
Protected Internal MethodMouseUp Occurs when the mouse button is released over this node control.  
Protected Internal MethodMouseUpOutside Occurs when the mouse button was previously clicked on this node control but released over an other node control.  
Protected MethodOnContentChanged Notifies the treeview about node control`s content changes.  
Protected Internal MethodOnControlChangedOverloaded.  Notify the treeview about node control changed.  
Protected MethodShouldSerializeCursor Gets a value indicating whether to serialize node control cursor in design-time.  
Top
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
Top
See Also

Reference

NodeControl Class
ARMSoft.FlexibleTreeView.NodeControls Namespace

Send Feedback