[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Sets the drawing style for the expand / collapse (fold/unfold) indicators for tree nodes.
Source position: comctrls.pp line 3744
public property TCustomTreeView.ExpandSignType : TTreeViewExpandSignType |
ExpandSignType is a TTreeViewExpandSignType property with the drawing style used for expand / collapse indicators on tree nodes in the control. It contains a value from the TTreeViewExpandSignType enumeration, such as:
The default value for the property is tvestTheme, and causes the DrawElement method in ThemeServices to be used to render the indicator. Other values cause methods in the control to be called to render the indicator. Changing the value for the property causes the control to be redrawn.
ExpandSignType is used in the DoPaintNode method to determine the drawing style for the expand / collapse indicator for a tree node that has child nodes. It also determines the scaling mechanism needed for themed versus non-themed drawing styles.
Use ExpandSignSize to set the default dimensions for the indicator before it is scaled for the theme or font size. Use ExpandSignColor to set the fill color for a filled arrow-style indicator. Use ExpandSignWidth to set the line width used for a chevron or angle bracket-style indicator.
|
Color used to paint expand / collapse (fold / unfold) indicators for tree nodes. |
|
|
Size of the expand / collapse (fold / unfold) indicators for tree nodes. |
|
|
Width of the lines drawn for the expand/collapse indicator when using the tvestAngleBracket drawing style. |
|
|
The container with the TTreeNode instances for the control. |
|
|
Renders the specified tree node to the canvas for the control. |
|
|
Represents symbols types used for expanded or collapsed tree nodes. |
Version 3.2 | Generated 2024-02-25 | Home |