Flexible TreeView 5.1.9 Help
EditableControl Class Members
Properties  Methods  Events


The following tables list the members exposed by EditableControl.

Public Properties
 NameDescription
Public PropertyApplyChangesOnLostFocus Gets or sets a value indicating whether to auto apply changes when the editor control lost focus.  
Public PropertyColumnId Gets or sets the identifier of the column where this node control will appear. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyColumnSpan Gets or sets the columns count to span by this node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyContentAlignGets or sets the node control content alignment within the occupied area. Useful when NodeControl.FillFreeSpace property is enabled. When the node control has many lines of text or NodeControl.FillFreeSpace property is enabled, changing this property may align those lines according to the node control bounds. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyCursor Gets or sets the mouse cursor for this node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyDataFieldNameGets or sets the node class property or field name where to get a data when VirtualMode is disabled. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public PropertyDisplayFormatThe object specifying the formatting applied to the node control content.

For more information about standard and custom formatting patterns, see DisplayFormat help.

(Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public PropertyEditable Gets or sets a value indicating whether the node control allows you edit node content.  
Public PropertyEditHotKey Gets or sets a hot key to start edit the node control`s content.  
Public PropertyEditStartMode Gets or sets the mode which defines when to start the node control`s content edit.  
Public PropertyExcludeFromSelection Defines whether to do not highlight the node control in a selected or focused node. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
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. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyIsInBoundMode Gets or sets whether the node control is in databound mode. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public PropertyIsInternal Gets a value indicating whether the node control is for internal purposes only. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyMaxEditorWidth Gets or sets the maximal editor control width.  
Public PropertyMinEditorWidth Gets or sets the minimal editor control width.  
Public PropertyPadding Gets or sets the node control padding size in pixels within control`s bounds. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
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. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyTag Gets or sets the node control tag value. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyTreeview Gets or sets the treeview instance where the node control is hosting. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyVirtualModeGets or sets a value indicating whether to get or set the node`s content by ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeControlValueGet and ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeControlValueSet events or through direct access to the bounded node`s property or field. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public PropertyVisibility Gets or sets a mode indicating when to show this node control in the node. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyVisibilityManager Gets or sets the visibility manager for this node control which controls this and other node controls` visibility from one point. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyVisible Gets or sets a value indicating whether the node control is visible or not. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public PropertyWrap Gets or sets a value indicating whether to move this node control under all previous node controls. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
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. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected PropertyDesignMode (Inherited from System.ComponentModel.Component)
Protected PropertyEditNode Gets or sets a node that`s now editing.  
Protected PropertyEditorControl Gets or sets an editor control that`s now editing the node`s content.  
Protected PropertyEditorNewValue Gets or sets the node control editor`s current value.  
Protected PropertyEditorOldValue Gets the current bound value that being edited in the editor control.  
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Protected PropertyHostingHotNode Gets a node in which this node control is under the mouse cursor. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal PropertyStaticContent Gets a value indicating whether the node control has a static or dynamic content. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Top
Public Methods
 NameDescription
Public MethodAttachTo Attaches this node control to the specified treeview. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public MethodAttachToColumn Link node control to the specified column where this node control will appear. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public MethodCompareNodes<T>Overloaded.  Compares two nodes. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
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. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public MethodGetFontOverloaded.  Gets the node control`s text font. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodGetTextColor Gets the text color according to the draw context state. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Public MethodGetValueOverloaded.  Gets the bounded node member`s value. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public MethodGetValueAsStringOverloaded.  Gets the data of the node and convert it to the string. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodSetValueOverloaded.  Set the bounded node`s member value. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Public MethodToStringReturns a string that represents the current object. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Top
Protected Methods
 NameDescription
Protected MethodApplyChanges Saves editor control changes.  
Protected MethodApplyChangesAndNotifySaves the editor control changes and raises the ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeEdited event to inform about this changes.  
Protected MethodApplyPaddingToRectAdds or removes, depends on the pAdd parameter, the node control padding to the specified rectangle. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodBeginEdit Begins the edit of the node control`s content in an editor control.  
Protected MethodCanEditNode Determine whether the specified node supports editing.  
Protected MethodCanStartEdit Determines whether this node control can start edit.  
Protected MethodChangeCursor Changes the mouse cursor under node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodCheckIsAttached Checks whether node control is attached to the treeview and throws an exception if is not. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodCloneNewValue Clones the editor control`s newly entered value.  
Protected MethodCompareNodesSpecific Do a comparison of the node`s values that`s specific to the particular node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected Internal MethodConvertGetValue<T> Converts the node member`s value before displaying it in the treeview. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected Internal MethodConvertSetValue Converts the specified value before setting it to the bound node class member. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected MethodCreateEditor Creates an editor control for this node control.  
Protected Internal MethodDraw Draws the node control within the specified node. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodEndEdit Ends the edit of the node control`s content.  
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodFormatValueOverloaded. Convert the specified value to the string either using the specified format or the ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeControlFormatValue event. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected MethodGetBoundObjectType Gets the type of an object that this node control is bounded to. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected MethodGetColorById Get the color value by its identifier. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodGetEditorGapWidth Gets the free space width in pixels at the editor control`s end.  
Protected MethodGetHtmlTag Gets a HTML text tag under the mouse cursor. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodGetStyle Gets the node control style. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodGetTooltipText Gets a tooltip text assigned to the current node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodGetValueCore Gets the bounded node member`s value. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected MethodInitializeEditor Initializes the created editor control when node edit starts.  
Protected Internal MethodInvalidate Invalidates the node control and causes the control to be redrawn. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodIsValueValidValidate the editor control's newly entered value by raising the ARMSoft.FlexibleTreeView.FlexibleTreeView.NodeEditValidate event.  
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 NodeControl.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. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodKeyDownOverridden.  Occurs when a key is pressed.  
Protected Internal MethodKeyUp Occurs when a key is released. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodMeasureSize Measures size of the node control within the specified node. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodMeasureText Measures the specified text taking into account specified text settings. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected Internal MethodMouseCaptureLost Occurs when the treeview has lost the previously gained mouse capture. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseDoubleClick Occurs when the mouse button is double clicked over the node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseDown Occurs when the mouse button is pressed over the node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseDownPreProcess Occurs when the mouse button is pressed over the node control and before any other event handlers. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseEnter Occurs when the mouse cursor enters the node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseLeave Occurs when the mouse cursor leaves the node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseMove Occurs when the mouse cursor is moved over the node control. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodMouseUpOverridden.  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. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodOnContentChanged Notifies the treeview about node control`s content changes. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected Internal MethodOnControlChangedOverloaded.  Notify the treeview about node control changed. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodOnEditorHidden Notify derived classes that the editor control has been hidden.  
Protected MethodOnEditorKeyDown Occurs when a key pressed down in the editor control.  
Protected MethodOnEditorKeyPress Occurs when a key pressed in the editor control.  
Protected MethodOnEditorShown Notify derived classes that the editor control has been shown.  
Protected MethodShouldSerializeCursor Gets a value indicating whether to serialize node control cursor in design-time. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.NodeControl)
Protected MethodShouldSerializeDataFieldNameChecks whether to serialize the DataFieldName property. (Inherited from ARMSoft.FlexibleTreeView.NodeControls.BindableControl)
Protected MethodUpdateEditor Updates the editor control state after the editor`s value has changed.  
Protected MethodValidateAndApplyChanges Validates the editor control value and applies changes if it`s valid.  
Protected MethodValidateEditorWidthChecks whether editor control`s width is in the bounds specified by MinEditorWidth and MaxEditorWidth properties.  
Top
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
Top
See Also

Reference

EditableControl Class
ARMSoft.FlexibleTreeView.NodeControls Namespace

Send Feedback