New to Telerik UI for WinFormsStart a free 30-day trial

Properties

Updated over 6 months ago
PropertiesDescription
EnableKineticScrollingGets or sets a value indicating whether the kinetic scrolling function is enabled.
LazyModeGets or sets a value indicating whether the TreeView load child Nodes collection in NodesNeeded event only when Parent nodes expanded.
DropHintColorGets or sets the color of the drop hint.
ShowDropHintGets or sets a value indicating whether the drop hint should be visible.
ShowDragHintGets or sets a value indicating whether the drag hint should be visible.
RelationBindingsContains data binding settings for related data.
ExpandAnimationGets or sets the type of expand animation.
PlusMinusAnimationStepGets or sets the animation step for expand/collapse animation.
AllowPlusMinusAnimationGets or sets a value indicating whether animation of collapse/expand images is enabled.
ImageIndexThe default image index for nodes.
ImageKeyThe default image key for nodes.
TriStateModeGets or sets a value indicating whether the check boxes will have three states.
ToggleModeGets or sets the toggle mode.
DragDropServiceGets or sets the drag drop service used when dragging nodes within RadTreeView or between different instances of RadTreeView.
LastNodeGets the last node.
AllowDragDropGets or sets a value indicating whether built in drag drop functionality is enabled.
MultiSelectGets or set a value indicating whether the multi selection is enabled.
ShowExpandCollapseGets or sets a value indicating whether the expander is visible.
SelectedNodesGets the selected nodes.
CheckedNodesGets the checked nodes.
CheckBoxesGets or sets a value indicating whether the check boxes are visible.
HideSelectionGets or sets a value indicating whether the selection is enabled.
HotTrackingGets or sets a value indicating whether hot tracking is enabled.
ItemHeightGets or sets the height of the item.
ActiveEditorGets the active editor.
AllowEditGets or sets a value indicating whether editing nodes is allowed.
EditModeGets or sets the default RadTreeNode edit mode.
AllowAddGets or sets a value indicating whether one ca add nodes form the context menu.
AllowRemoveGets or sets a value indicating whether one ca add nodes form the context menu.
SelectedNodeGets or sets the selected node.
ShowLinesGets or sets a value indicating whether the lines that connect the nodes are visible.
ShowRootLinesGets or sets a value indicating whether the root lines are visible.
TopNodeGets the first visible tree node in the tree view.
LineColorGets or sets the color of the lines connecting the nodes in the tree view.
LineStyleGets or sets the line style.
LineWidthGets or sets a value determining the width of the link lines.
VisibleCountGets the number of tree nodes that are visible in the tree view.
NodesGets the nodes collection.
TreeIndentGets or sets the indent of nodes, applied to each tree level
FilterGets or sets the filter string.
SortOrderGets or sets the sort order of Nodes.
ExpandImageGets or sets the expand image.
CollapseImageGets or sets the expand image.
AllowArbitraryItemHeightGets or sets a value indicating whether nodes can have different height.
FullRowSelectGets or sets a value indicating whether to select the full row.
NodeSpacingGets or sets the vertical spacing among nodes.
AlternatingRowColorGets or sets the alternating row color.
AllowAlternatingRowColorGets or sets a value indicating whether to show rows with alternating row colors.
FirstVisibleIndexGets the index of the first visible node.
KeyboardSearchEnabledGets or sets a value that determines whether the user can navigate to an item by typing when RadTreeViewElement is focused.
KeyboardSearchResetIntervalGets or sets a value that specifies how long the user must wait before searching with the keyboard is reset.

Methods

MethodDescription
GetNodeByNameGets a node with the specified name.
BeginEditPuts the current node in edit mode.
EndEditCommits any changes and ends the edit operation on the current node.
CancelEditClose the currently active editor and discard changes.
CollapseAllCollapses all nodes.
ExpandAllExpands all nodes.
GetNodesGets an enumerator which enumerates all nodes in the tree.
Find(string Text)Find a node with specified text.
EnsureVisible(RadTreeNode node)Ensures that the specified tree node is visible within the tree view element, scrolling the contents of the element if necessary.
ClearSelectionClears the selected nodes.
SelectAllSelects all nodes.

Events

EventDescription
SelectedNodeChangingOccurs before a tree node is selected.
SelectedNodeChangedOccurs after the tree node is selected.
SelectedNodesChangedOccurs when SelectedNodes collection has been changed.
NodeMouseDownOccurs when the user presses a mouse button over a RadTreeNode.
NodeMouseUpOccurs when the user releases a mouse button over a RadTreeNode.
NodeMouseClickOccurs when a mouse button is clicked inside a node
NodeMouseDoubleClickOccurs when a mouse button is double clicked inside a TreeNodeElement.
NodeCheckedChangingOccurs when the value of the Checked property of a RadTreeNode is changing.
NodeCheckedChangedOccurs when the value of the Checked property of a RadTreeNode is changed.
NodeExpandedChangingOccurs before the value of the Expanded property of a tree node is changed.
NodeExpandedChangedOccurs after the value of the Expanded property of a tree node is changed.
ContextMenuOpeningOccurs when opening the context menu.
NodeRemovedOccurs after a node is removed.
NodeRemovingOccurs before a node is removed.
NodeAddedOccurs after a node is being added.
NodeAddingOccurs before a node is being added.
NodeFormattingOccurs when the node changes its state and needs to be formatted.

See Also

In this article
See Also
Not finding the help you need?
Contact Support