RectControl
TreeView
BackColor | Sets or gets the background color of the control. |
CancelEventAction | Setting this property to true from within certain events will cancel their internal handling. |
ColumnCount | Sets the number of columns that the TreeView should have. |
DarkBackColor | Overrides BackColor property when macOS Theme is dark mode. |
DarkNodeTextColor | Overrides NodeTextColor when macOS Theme is dark mode. |
DarkSelectionTextColor | Sets selection text color for dark mode if HasSelectionTextColor property has been set to true. |
DragReceiveBehavior | Use this property to control what nodes can receive drag on them. |
Enabled (Inherited) | Determines if the control should be enabled when the owning window is opened. |
Handle (Inherited) | Returns a handle to the control. |
HasBackColor | If set to true then values will be used from BackColor and DarkBackColor properties, else attempt is made to use value from the system. |
HasBorder | When set to true the TreeView has border around it, when set to false the TreeView has no border. |
HasHeader | When set to true then the TreeView will have column headers. |
HasInactiveSelectionColor | Set this property to true to let the TreeView control use a custom Selection Color when the control is inactive. |
HasNodeColor | If set to true then NodeEvenColor, NodeOddColor and SystemNodeColor properties are active, else node get the resolved color for the control’s background. |
HasNodeTextColor | If set to true then NodeTextColor property is active, else system color is used. |
HasSelectionColor | Set this property to true to let the TreeView control use a custom Selection Color. |
HasSelectionTextColor | If set to true then selection text color will be read from the SelectionTextColor and DarkSelectionText color properties. |
Height (Inherited) | The height (in points) of the control. |
HorizontalScrollbarValue | Sets or gets the value for the horizontal scrollbar. |
InactiveSelectionColor | Sets or gets the color of the selections when the control is inactive. |
Index (Inherited) | If the control is used in a control set, this specifies the control's index in the set. |
Left (Inherited) | The left side of the control in local coordinates (relative to the window) |
LinuxDrawTreeLines | Set to true if the control is supposed to have Tree Lines when running on Linux systems. |
LinuxExpanderStyle | Defines the look and feel of the Expander when running on Linux systems. |
LinuxHighlightFullRow | Set to true to highlight the entire row when running on Linux systems. |
LockDrawing | To set or get LockDrawing value. |
MacDrawTreeLines | Set to true if the control is supposed to have Tree Lines when running on MacOS systems. |
MacExpanderStyle | Defines the look and feel of the Expander when running on MacOS systems. |
MacHighlightFullRow | Set to true to highlight the entire row when running on MacOS systems. |
MouseX (Inherited) | The X coordinate of the mouse (points). Measured from the top-left corner of the window. |
MouseY (Inherited) | The Y coordinate of the mouse (points). Measured from the top-left corner of the window. |
MultiSelection | If set to true then the control will allow selecting of multiple nodes. |
NodeEvenColor | Sets or gets the background color of even numbered nodes. |
NodeHeight | Sets or gets the height of the nodes in the TreeView control. |
NodeOddColor | Sets or gets the background color of odd numbered nodes. |
NodeTextColor | Sets text color for nodes if Has NodeTextColor property is true. |
PanelIndex (Inherited) | If the control has been placed on a TabPanel or PagePanel control, this is the panel (page/tab) that the control is on. If the control is not on a panel, it returns -1. |
QuartzShading | If set to true then the selection will be shaded when running on MacOS X Mach-O targets. |
RootNodeCount | Return the count of nodes on root level. |
SelectedIndex | Gets the index of the last node to be added to the selection. |
SelectionColor | Sets or gets the color of the selections. |
SelectionSeparator | Decides if selected nodes should have separator between them or not. |
SelectionTextColor | Sets selection text color for light mode if HasSelectionTextColor property has been set to true. |
SystemNodeColors | If set to true then attempt is made to get system colours for even and odd nodes. |
TextFont | Sets or gets the controls TextFont. |
TextSize | Sets or gets the controls Text size. |
TextUnit | Sets the unit of the FontSize. |
Top (Inherited) | The top of the control in local coordinates (relative to the window). |
UseFocusRing | This property is used to determine if the TreeView should show a focus ring or not. |
VerticalScrollbarMax | Gets the maximum value from the Vertical Scrollbar. |
VerticalScrollbarValue | Sets or gets the value for the vertical scrollbar. |
Visible (Inherited) | Determines whether the control is visible when its owning window is opened. The default is True: the control is visible. |
Width (Inherited) | The width (in points) of the control. |
WinDrawTreeLines | Set to true if the control is supposed to have Tree Lines when running on Windows systems. |
WinHighlightFullRow | Set to true to highlight the entire row when running on Windows systems. |
Window (Inherited) | The control's parent window. |
AddToSelection | Adds a node to the existing selection when in Multiselect mode. |
AppendNode | Appends a top level node to the TreeView control. |
AppendNode | Appends a child node to the TreeView control. |
Close (Inherited) | Closes a control. |
ColumnDefaultAlignment | Sets or gets default alignment for a given column. |
ColumnHeaderDarkModeImage | Sets or gets dark mode image for column header with given index. |
ColumnHeaderImage | Sets or gets the header image for a specific column header. |
ColumnHeaderImageAlignment | Sets or gets the header image alignment for a specific column header. |
ColumnHeaderText | Sets or gets the header text for a specific column header. |
ColumnWidth | Sets or gets the column width for a specific column. |
DebugGetStructureSize | A function to get the internal structure sizes of the TreeView for each platform. |
ExpandAll | Expands or Collapses all nodes in the TreeView. |
ExpandAncestorsOf | Expands or collapses all ancestors of a given node. |
GetMeasure | Retrieves a measurement from a given TreeView.MeasureValues enum constant from the TreeView. |
GetNodeParent | Gets a parent node from a given node. |
GetNodeTopEdge | Returns top edge location of a node that is on screen. |
IndexFromNode | Gets a screen index from a given node. |
IndexFromNode | Gets a screen index from a given node and a given index above the node. |
InsertNode | Inserts a child node to the TreeView control. |
InsertNode | Inserts a top level node to the TreeView control. |
NodeFromPoint | Finds a node and or control part from a given point. |
NodesOnScreen | Returns nodes which are on screen (Expanded) as ObjectArray. |
Refresh | Refreshes the control. |
ReloadEvents | Reloads events if having used AddHandler to subscribe events. |
RemoveAllNodes | Removes all nodes from the TreeView control. |
RemoveFromSelection | Removes a node from the existing selection when in Multiselect mode. |
RemoveNode | Removes a node from the TreeView by index. |
RemoveNode | Removes a node from the TreeView by node. |
RestoreExpandState | Restores previously stored expand state, making best effort to do it even if content of the Tree has slightly changed. |
RootNodes | Returns a node at a root level from a given index that is relative to the parent node. |
SaveExpandState | Saves the expand state of the TreeView, optionally taking in comparer to do custom node comparison. |
ScrollNodeToView | Scrolls a node into view. |
SelectNode | Selects a node by a given node. in single selection mode. |
SelectedNode | Gets the node that was last added to selection. |
SelectedNodes | Returns the selected nodes in a ObjectCollection. |
SetCheckboxRenderer | Sets custom renderer for checkboxes. |
SetColumnDefaultIndent | Sets default indents for the given column |
SetFocus (Inherited) | If applicable, sets the focus to the DesktopUIControl. KeyDown events are directed to the control. |
SetSelectionRenderer | Sets custom rendering routine for selection. |
SortNodes | Sorts the root level nodes using supplied comparing routine. |
Swap | Swaps root level nodes in the tree. |
AfterMouseDown | This event is fired after all handling of MouseDown is complete, including repaint if needed. |
AppearanceChanged | This event is fired when Light vs Dark mode is toggled in the system. You also get this event once in first paint event, to give your code chance to set the desired settings for the initial state. |
BeforeDragOverHighlight | This event is fired when a node is dragged over before the highlight change will be drawn. So you can use this one for example to change icons based on the highlight state. |
BeforeNodeCollapsing | This event is fired when a node is about to collapse. |
BeforeNodeExpanding | This event is fired when a node is about to expand. |
BeforeNodeSelectionChange | This event is fired before state of selection on a node is changed. |
BeginDragNode | This event is fired when the user begins to drag a node. |
Close (Inherited) | The control is about to close. |
ConstructContextualMenu (Inherited) | This event is called when it is appropriate to display a contextual menu for the control. |
ContextualMenuItemSelected (Inherited) | Fires when a contextual menuitem selectedItem was selected but the MenuItemSelected event and the MenuHandler for the MenuItem did not handle the menu selection. |
DragEnter (Inherited) | Fires when the passed DragItem enters the RectControl. |
DragExit | This event is fired when a drag item exits the control. |
DragOver | This event is fired when a DragItem is over the control. |
DragOverNode | This event is fired when a DragItem is dragged over a node. |
DropObject | The item represented by obj has been dropped onto the control. |
EnableMenuItems | Fires when user has clicked in the menu bar or pressed a keyboard shortcut assigned to one of the menu items. |
GotFocus | This event is fired when the control receives focus. |
HeaderClick | This event is fired when the header is clicked. |
KeyDown | This event is fired when a keyboard key is hit when the Grid has the focus. |
KeyUp (Inherited) | Fires when the passed Key is released in the control that has the focus. |
LostFocus | This event is fired when the control looses focus. |
MouseDown | This event is fired when the mouse button goes down on the control. |
MouseDrag | The MouseDrag event is fired when a mouse drag event is generated within the control. |
MouseEnter (Inherited) | The mouse has entered the area of the control. |
MouseExit | This event is fired when the mouse exits the control. |
MouseMove | This event is fired when the mouse is moved over the control. |
MouseUp | This event is fired when the mouse button goes down on the control. |
MouseWheel (Inherited) | The mouse wheel has been moved. |
NodeAction | This event is fired when actions are performed on special nodes, such as for example when a Checkbox is clicked on a TreeViewCheckboxNode. |
NodeCollapsed | This event is fired after a node has collapsed. |
NodeDoubleClick | This event is fired when a node gets double clicked |
NodeExpanded | This event is fired after a node has expanded. |
NodeMouseDown | This event is fired when the mouse is clicked on a node. |
Open | This event is fired when the control first opens on the screen. |
RequestVerticalScrollbar | Requests scrollbar from Xojo. This event is only for Linux and is to supply Xojo scrollbar to the TreeView because we cannot embed scrollbar in any recent Linux distro |
SelectionChanged | This event is fired when the selection changes. |
SelectionRendererDelegate (console safe) | Delegate to be used with the |
ColumnAlignmentValues | Enum that defines values for column default alignment. |
PartValues | Enum that defines part codes to be used with the NodeFromPoint method. |
MeasureValues | Enum that defines parts to measure with the GetMeasure function. |
HeaderImageAlignmentValues | Enum that defines values to be used with the ColumnHeaderImageAlignment getter and setter methods. |
Version = 11.2 |