[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Graphic drawing effect applied to the node in the associated TreeView control.
Source position: comctrls.pp line 3164
public property TTreeNode.NodeEffect : TGraphicsDrawEffect |
NodeEffect is a TGraphicsDrawEffect property with the drawing effect applied to the tree node when it is drawn on the associated TreeView control. NodeEffect controls the drawing style applied to both the text and the image for a given node.
The default value is gdeNormal as assigned in the constructor for the tree node instance. This causes the tree node to be drawn with no effect applied to the node. See TGraphicsDrawEffect for the other values allowed in the property, and their meanings.
Changing the value for the property causes the Update method to be called to redraw the TreeView control for the node. The Changed method is called to notify the TreeView control of the reason that the node was changed.
Use the ImageIndex and OverlayIndex properties to specify the primary and overlay images drawn for the tree node. The visual drawing effect is also updated when values are changed in the Cut, Expanded, Focused, Selected, or Enabled properties.
|
Redraws the associated TreeView control if an update is not already in progress. |
|
|
Ordinal position for the image displayed for the node, or -1 when no image is assigned. |
|
|
Ordinal position for the overlay image used for the node. |
|
|
Indicates if the tree node has been cut from the tree structure. |
|
|
True if the node has been expanded, False when collapsed. |
|
|
True if the node has focus in the TreeView control. |
|
|
True if the current node is selected in the tree view control. |
|
|
Controls whether the tree node can be selected, and its visual appearance. |
|
|
Performs actions when a property value in the specified tree node has been changed. |
|
|
Causes the control to be redrawn when a redraw is not already in progress. |
|
|
Renders the tree view control. |
|
Version 4.0 | Generated 2025-05-03 | Home |