Flexible TreeView 5.1.9 Help
NodeControl Class Methods


For a list of all members of this type, see NodeControl members.

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
See Also

Reference

NodeControl Class
ARMSoft.FlexibleTreeView.NodeControls Namespace

Send Feedback