Class RadTreeViewElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTreeViewElement : VirtualizedScrollPanel<RadTreeNode, TreeNodeElement>, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IDataItemSource
Constructors
RadTreeViewElement()
Declaration
public RadTreeViewElement()
Fields
AllowArbitraryItemHeightProperty
AllowPlusMinusAnimationProperty
AlternatingRowColorProperty
CollapseImageProperty
ExpandAnimationProperty
ExpandImageProperty
FullRowSelectProperty
HoveredCollapseImageProperty
HoveredExpandImageProperty
ItemDropHintProperty
ItemHeightProperty
LineColorProperty
LineStyleProperty
LineWidthProperty
NodeSpacingProperty
PlusMinusAnimationStepProperty
ShowExpandCollapseProperty
ShowLinesProperty
ShowRootLinesProperty
TreeIndentProperty
Properties
ActiveEditor
Gets or sets the active editor.
Declaration
public IInputEditor ActiveEditor { get; }
Property Value
IInput The active editor. |
AllowAdd
Gets or sets a value indicating whether [allow edit].
Declaration
public virtual bool AllowAdd { get; set; }
Property Value
System.
|
AllowAlternatingRowColor
Gets or sets a value indicating whether to show rows with alternating row colors.
Declaration
public virtual bool AllowAlternatingRowColor { get; set; }
Property Value
System.
|
AllowArbitraryItemHeight
Gets or sets a value indicating whether nodes can have different height.
Declaration
public virtual bool AllowArbitraryItemHeight { get; set; }
Property Value
System. The default value is false. |
AllowDefaultContextMenu
Gets or sets a value indicating whether the default context menu is enabled.
Declaration
public bool AllowDefaultContextMenu { get; set; }
Property Value
System. The default value is false. |
AllowDragDrop
Gets or sets a value indicating whether [allow drag drop].
Declaration
public virtual bool AllowDragDrop { get; set; }
Property Value
System.
|
AllowEdit
Gets or sets a value indicating whether [allow edit].
Declaration
public bool AllowEdit { get; set; }
Property Value
System.
|
AllowPlusMinusAnimation
Gets or sets a value indicating whether animation of collapse/expand images is enabled.
Declaration
public bool AllowPlusMinusAnimation { get; set; }
Property Value
System. The default value is false. |
See Also
AllowRemove
Gets or sets a value indicating whether [allow edit].
Declaration
public virtual bool AllowRemove { get; set; }
Property Value
System.
|
AlternatingRowColor
Gets or sets the alternating row color.
Declaration
public virtual Color AlternatingRowColor { get; set; }
Property Value
System.
|
AutoCheckChildNodes
Gets or sets a value indicating whether the child nodes should be auto checked when RadTreeView is in tri state mode
Declaration
public virtual bool AutoCheckChildNodes { get; set; }
Property Value
System. The default value is false. |
AutoScrollOnClick
Gets or sets a value indicating whether to scroll horizontally RadTreeView to ensure that the clicked node is visible.
Declaration
public bool AutoScrollOnClick { get; set; }
Property Value
System.
|
BindingContext
Gets or sets the binding context.
Declaration
public override BindingContext BindingContext { get; set; }
Property Value
System. The binding context. |
Overrides
Implements
CachedOldValue
Declaration
protected object CachedOldValue { get; }
Property Value
System.
|
CheckBoxes
Gets or sets a value indicating whether [check boxes].
Declaration
public virtual bool CheckBoxes { get; set; }
Property Value
System.
|
CheckedMember
Gets or sets a property name which will be used to extract the checked state of the data items. The value of the property with this name will be available via the Checked property of every RadTreeNode.
Declaration
public virtual string CheckedMember { get; set; }
Property Value
System.
|
CheckedNodes
Gets the checked nodes.
Declaration
public virtual CheckedTreeNodeCollection CheckedNodes { get; }
Property Value
Checked The checked nodes. |
ChildMember
Gets or sets a property name which will be used to define a relation of the data items.
Declaration
public virtual string ChildMember { get; set; }
Property Value
System.
|
CollapseImage
Gets or sets the expand image
Declaration
public Image CollapseImage { get; set; }
Property Value
System.
|
Comparer
Gets or sets the default sort Comparer for RadTreeView. The default comparer compares the nodes according to their text.
Declaration
public IComparer<RadTreeNode> Comparer { get; set; }
Property Value
System.
|
ContextMenu
Gets or sets the context menu.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
Rad The context menu. |
DataMember
Gets or sets the name of the list or table in the data source for which the Rad
Declaration
public virtual string DataMember { get; set; }
Property Value
System.
|
DataSource
Gets or sets the data source that the Rad
Declaration
public virtual object DataSource { get; set; }
Property Value
System.
|
DisplayMember
Gets or sets a property name which will be used to extract the text of the data items. The value of the property with this name will be available via the Text property of every RadTreeNode.
Declaration
public virtual string DisplayMember { get; set; }
Property Value
System.
|
DragDropService
Gets or sets the drag drop service used when dragging nodes within RadTreeView or between different instances of RadTreeView.
Declaration
public TreeViewDragDropService DragDropService { get; set; }
Property Value
Tree The drag drop service. |
EditMode
Gets or sets the default RadTreeNode edit mode.
Declaration
public virtual TreeNodeEditMode EditMode { get; set; }
Property Value
Tree The edit mode. |
EnableDeferredScrolling
Declaration
public bool EnableDeferredScrolling { get; set; }
Property Value
System.
|
EnableKineticScrolling
Gets or sets a value indicating whether the kinetic scrolling function is enabled.
Declaration
public bool EnableKineticScrolling { get; set; }
Property Value
System.
|
ExpandAnimation
Gets or sets the type of the Expand
Declaration
public ExpandAnimation ExpandAnimation { get; set; }
Property Value
Expand The default value is ExpandAnimation.Opacity. |
See Also
ExpandImage
Gets or sets the expand image
Declaration
public Image ExpandImage { get; set; }
Property Value
System.
|
ExpandMode
Gets or sets a value indicating whether single node expand is enabled.
Declaration
public ExpandMode ExpandMode { get; set; }
Property Value
ExpandTimerInterval
Gets or sets the expand timer interval - this is the interval of time in milliseconds which will pass before a hovered node is being expanded during drag and drop operation.
Declaration
public int ExpandTimerInterval { get; set; }
Property Value
System. The expand timer interval. |
Filter
Gets or sets the filter.
Declaration
public virtual object Filter { get; set; }
Property Value
System. The filter. |
FilterDescriptors
Gets the filter descriptors.
Declaration
public virtual FilterDescriptorCollection FilterDescriptors { get; }
Property Value
Filter The filter descriptors. |
FilterPredicate
Provides a callback so that the default filtering expression parser can be substituted.
Declaration
public virtual Predicate<RadTreeNode> FilterPredicate { get; set; }
Property Value
System.
|
FindStringComparer
Gets or sets an object that implements IFindStringComparer. The value of this property is used in the keyboard search functionality.
Declaration
public virtual IFindStringComparer FindStringComparer { get; set; }
Property Value
FirstVisibleIndex
Gets the index of the first visible node.
Declaration
public int FirstVisibleIndex { get; }
Property Value
System.
|
FullRowSelect
Gets or sets a value indicating whether to select the full row.
Declaration
public virtual bool FullRowSelect { get; set; }
Property Value
System. The default value is false. |
HideSelection
Gets or sets a value indicating whether [hide selection].
Declaration
public virtual bool HideSelection { get; set; }
Property Value
System.
|
HorizontalScrollState
Gets or sets a property that controls the visibility of the horizontal scrollbar.
Declaration
public ScrollState HorizontalScrollState { get; set; }
Property Value
HotTracking
Gets or sets a value indicating whether [hot tracking].
Declaration
public virtual bool HotTracking { get; set; }
Property Value
System.
|
HoveredCollapseImage
Gets or sets the hovered collapse image
Declaration
public Image HoveredCollapseImage { get; set; }
Property Value
System.
|
HoveredExpandImage
Gets or sets the hovered expand image
Declaration
public Image HoveredExpandImage { get; set; }
Property Value
System.
|
ImageIndex
The default image index for nodes.
Declaration
public override int ImageIndex { get; set; }
Property Value
System. The index of the image. |
Overrides
ImageKey
The default image key for nodes.
Declaration
public override string ImageKey { get; set; }
Property Value
System. The image key. |
Overrides
IsEditing
Gets a value indicating whether there is an open editor in the tree view.
Declaration
public bool IsEditing { get; }
Property Value
System.
|
IsInDesignMode
Gets or a value indicating whether the control is in design mode.
Declaration
public bool IsInDesignMode { get; }
Property Value
System.
|
ItemDropHint
Gets or sets the Rad
Declaration
[VsbBrowsable(true)]
public RadImageShape ItemDropHint { get; set; }
Property Value
ItemHeight
Gets or sets the height of the item.
Declaration
public int ItemHeight { get; set; }
Property Value
System. The height of the item. |
KeyboardSearchEnabled
Gets or sets a value that determines whether the user can navigate to an item by typing when RadTreeViewElement is focused. The default value is false.
Declaration
public virtual bool KeyboardSearchEnabled { get; set; }
Property Value
System.
|
KeyboardSearchResetInterval
Gets or sets a value that specifies how long the user must wait before searching with the keyboard is reset. The default value is 300.
Declaration
public virtual int KeyboardSearchResetInterval { get; set; }
Property Value
System.
|
LastNode
Gets the last node.
Declaration
public RadTreeNode LastNode { get; }
Property Value
Rad The last node. |
LazyMode
Gets or sets a value indicating whether the TreeView load child Nodes collection in NodesNeeded event only when Parend nodes expanded.
Declaration
public bool LazyMode { get; set; }
Property Value
System.
|
LineColor
Gets or sets the color of the lines connecting the nodes in the tree view.
Declaration
public Color LineColor { get; set; }
Property Value
System.
|
LineStyle
Gets or sets the line style.
Declaration
public virtual TreeLineStyle LineStyle { get; set; }
Property Value
Tree A Tree |
See Also
LineWidth
Gets or sets the line width.
Declaration
public virtual float LineWidth { get; set; }
Property Value
System. The System. |
MultiSelect
Gets or sets a value indicating whether [multi select].
Declaration
public virtual bool MultiSelect { get; set; }
Property Value
System.
|
Nodes
Gets the nodes.
Declaration
public RadTreeNodeCollection Nodes { get; }
Property Value
Rad The nodes. |
NodeSpacing
Gets or sets the vertical spacing among nodes.
Declaration
public virtual int NodeSpacing { get; set; }
Property Value
System.
|
ParentMember
Gets or sets a property name which will be used to define a relation of the data items.
Declaration
public virtual string ParentMember { get; set; }
Property Value
System.
|
PathSeparator
Gets or sets the path separator.
Declaration
public virtual string PathSeparator { get; set; }
Property Value
System. The path separator. |
PlusMinusAnimationStep
Gets or sets the opacity animation step for expand/collapse animation.
Declaration
public double PlusMinusAnimationStep { get; set; }
Property Value
System. Returns a double value from double.Epsilon to 1 representing the opacity changing step with which the plus minus buttons are animated. The default value is 0.025. |
RelationBindings
Contains data binding settings for related data.
Declaration
public RelationBindingCollection RelationBindings { get; }
Property Value
ScrollBehavior
Gets the Scroll
Declaration
public ScrollServiceBehavior ScrollBehavior { get; }
Property Value
SelectedNode
Gets or sets the selected node.
Declaration
public virtual RadTreeNode SelectedNode { get; set; }
Property Value
Rad The selected node. |
SelectedNodes
Gets the selected nodes.
Declaration
public virtual SelectedTreeNodeCollection SelectedNodes { get; }
Property Value
Selected The selected nodes. |
ShowExpandCollapse
Gets or sets a value indicating whether [show expander].
Declaration
public bool ShowExpandCollapse { get; set; }
Property Value
System.
|
ShowLines
Gets or sets a value indicating whether [show lines].
Declaration
public bool ShowLines { get; set; }
Property Value
System.
|
ShowNodeToolTips
Gets or sets a value indicating whether [show node tool tips].
Declaration
public bool ShowNodeToolTips { get; set; }
Property Value
System.
|
ShowRootLines
Gets or sets a value indicating whether [show root lines].
Declaration
public bool ShowRootLines { get; set; }
Property Value
System.
|
SortDescriptors
Gets the sort descriptors.
Declaration
public SortDescriptorCollection SortDescriptors { get; }
Property Value
Sort The sort descriptors. |
SortOrder
Gets or sets the sort order of Nodes.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
System. The sort order. |
ToggleMode
Gets or sets the toggle mode.
Declaration
public ToggleMode ToggleMode { get; set; }
Property Value
Toggle The toggle mode. |
ToggleStateConverter
Gets or sets a System.
Declaration
public virtual TypeConverter ToggleStateConverter { get; set; }
Property Value
System.
|
TopNode
Gets the first visible tree node in the tree view.
Declaration
public RadTreeNode TopNode { get; }
Property Value
TreeIndent
Gets or sets the indent of nodes, applied to each tree level.
Declaration
public virtual int TreeIndent { get; set; }
Property Value
System.
|
TreeNodeProvider
Gets or sets the tree node provider.
Declaration
public virtual TreeNodeProvider TreeNodeProvider { get; set; }
Property Value
Tree The tree node provider. |
TriStateMode
Gets or sets a value indicating whether [tri state mode].
Declaration
public virtual bool TriStateMode { get; set; }
Property Value
System.
|
ValueMember
Gets or sets a property name which will be used to extract a value from the data items. The value of the property with this name will be available via the Value property of every RadTreeNode.
Declaration
public virtual string ValueMember { get; set; }
Property Value
System.
|
VerticalScrollState
Gets or sets a property that controls the visibility of the vertical scrollbar.
Declaration
public ScrollState VerticalScrollState { get; set; }
Property Value
VisibleCount
Gets the number of tree nodes that are visible in the tree view
Declaration
public int VisibleCount { get; }
Property Value
System.
|
Methods
AddNodeByPath(String)
Creates a new node and adds a node by path. The label of the new node will be the text after the last separator.
Declaration
public virtual RadTreeNode AddNodeByPath(string path)
Parameters
System. Where the node should be added. |
Returns
Rad The new node if the operation is successful. |
AddNodeByPath(String, String)
Creates a new node and adds a node by path. The label of the new node will be the text after the last separator.
Declaration
public virtual RadTreeNode AddNodeByPath(string path, string pathSeparator)
Parameters
System. Where the node should be added. |
System. The path separator. |
Returns
Rad The new node if the operation is successful. |
AutoExpand(RadTreeNode)
AutoScrollOnDrag(TreeNodeElement)
Declaration
[Obsolete("Use the AutoScrollOnDragging method instead.")]
protected virtual void AutoScrollOnDrag(TreeNodeElement hitItem)
Parameters
Tree
|
AutoScrollOnDragging(TreeNodeElement)
Declaration
protected virtual bool AutoScrollOnDragging(TreeNodeElement hitItem)
Parameters
Tree
|
Returns
System.
|
BeginEdit()
Puts the current node in edit mode.
Declaration
public virtual bool BeginEdit()
Returns
System.
|
BeginInit()
Declaration
public void BeginInit()
BeginUpdate()
Begins the update.
Declaration
public void BeginUpdate()
BringIntoView(RadTreeNode)
Ensures that the specified tree node is visible within the tree view element, scrolling the contents of the element if necessary. This method expands parent items when necessary.
Declaration
public void BringIntoView(RadTreeNode node)
Parameters
Rad The node to bring into view |
CancelEdit()
Close the currently active editor and discard changes.
Declaration
public void CancelEdit()
ClearSelection()
Declaration
public virtual void ClearSelection()
CollapseAll()
Collapses all.
Declaration
public void CollapseAll()
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
CreateDragDropService()
Declaration
protected virtual TreeViewDragDropService CreateDragDropService()
Returns
CreateElementProvider()
Declaration
protected override IVirtualizedElementProvider<RadTreeNode> CreateElementProvider()
Returns
Overrides
CreateExpandAnimation()
Declaration
protected virtual TreeExpandAnimation CreateExpandAnimation()
Returns
CreateNewNode()
CreateNewNode(String)
Declaration
protected virtual RadTreeNode CreateNewNode(string defaultText)
Parameters
System.
|
Returns
CreateViewElement()
Declaration
protected override VirtualizedStackContainer<RadTreeNode> CreateViewElement()
Returns
Overrides
DeferRefresh()
Defers the refresh.
Declaration
public virtual IDisposable DeferRefresh()
Returns
System.
|
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DpiScaleChanged(SizeF)
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.
|
Overrides
EndEdit()
Commits any changes and ends the edit operation on the current cell.
Declaration
public bool EndEdit()
Returns
System.
|
EndEditCore(Boolean)
Declaration
protected virtual bool EndEditCore(bool commitChanges)
Parameters
System.
|
Returns
System.
|
EndInit()
Declaration
public virtual void EndInit()
EndUpdate()
Ends the update.
Declaration
public void EndUpdate()
EndUpdate(Boolean, RadTreeViewElement.UpdateActions)
Ends the update.
Declaration
public void EndUpdate(bool performUpdate, RadTreeViewElement.UpdateActions action)
Parameters
System. Tells the view whether an update is required or not. |
Rad Indicates the update action |
EnsureNodeVisibleHorizontal(RadTreeNode, TreeNodeElement)
Declaration
protected virtual void EnsureNodeVisibleHorizontal(RadTreeNode node, TreeNodeElement nodeElement)
Parameters
Rad
|
Tree
|
EnsureNodeVisibleVertical(RadTreeNode, TreeNodeElement)
Declaration
protected virtual TreeNodeElement EnsureNodeVisibleVertical(RadTreeNode node, TreeNodeElement nodeElement)
Parameters
Rad
|
Tree
|
Returns
EnsureNodeVisibleVerticalCore(RadTreeNode)
Declaration
protected virtual TreeNodeElement EnsureNodeVisibleVerticalCore(RadTreeNode node)
Parameters
Rad
|
Returns
EnsureVisible(RadTreeNode)
Ensures that the specified tree node is visible within the tree view element, scrolling the contents of the element if necessary.
Declaration
public virtual void EnsureVisible(RadTreeNode node)
Parameters
Rad The node to scroll into view |
Execute(Boolean, ICommand, Object[])
Executes the specified command include sub trees.
Declaration
public object Execute(bool includeSubTrees, ICommand command, params object[] settings)
Parameters
System. if set to |
ICommand
command
The command. |
System. The settings. |
Returns
System.
|
Execute(ICommand, Object[])
Executes the specified command.
Declaration
public object Execute(ICommand command, params object[] settings)
Parameters
ICommand
command
The command. |
System. The settings. |
Returns
System.
|
ExpandAll()
Expands all.
Declaration
public void ExpandAll()
Find(Predicate<RadTreeNode>)
Finds the specified match.
Declaration
public RadTreeNode Find(Predicate<RadTreeNode> match)
Parameters
System. The match. |
Returns
Find(String)
Finds the specified text.
Declaration
public virtual RadTreeNode Find(string text)
Parameters
System. The text. |
Returns
Find<T>(FindAction<T>, T)
Declaration
public RadTreeNode Find<T>(FindAction<T> match, T arg)
Parameters
Find
|
T
arg
|
Returns
Type Parameters
T
|
FindNodes(Predicate<RadTreeNode>)
Finds the nodes.
Declaration
public RadTreeNode[] FindNodes(Predicate<RadTreeNode> match)
Parameters
System. The match. |
Returns
FindNodes(String)
Finds the nodes.
Declaration
public virtual RadTreeNode[] FindNodes(string text)
Parameters
System. The text. |
Returns
FindNodes<T>(FindAction<T>, T)
Finds the nodes.
Declaration
public RadTreeNode[] FindNodes<T>(FindAction<T> match, T arg)
Parameters
Find The match. |
T
arg
The argument. |
Returns
Type Parameters
T
|
ForEach(Action<RadTreeNode>)
Execute the specified action for every RadTreeNode in the tree
Declaration
public void ForEach(Action<RadTreeNode> action)
Parameters
System.
|
GetDescendantNodes(RadTreeNode)
Gets an enumerator which enumerates all descendant nodes of a node.
Declaration
public IEnumerable<RadTreeNode> GetDescendantNodes(RadTreeNode current)
Parameters
Rad
|
Returns
System. The enumerator. |
GetEditor(Type)
Declaration
protected virtual IInputEditor GetEditor(Type editorType)
Parameters
System.
|
Returns
GetFirstMatch(String, RadTreeNodeCollection)
This method traverses through the visible nodes of RadTreeView and returns a node that matches the searchCriteria
.
Declaration
protected virtual RadTreeNode GetFirstMatch(string searchCriteria, RadTreeNodeCollection nodes)
Parameters
System.
|
Rad
|
Returns
GetNodeAt(Point)
Gets the node at.
Declaration
public RadTreeNode GetNodeAt(Point pt)
Parameters
System. The pt. |
Returns
GetNodeAt(Int32, Int32)
Gets the node at.
Declaration
public RadTreeNode GetNodeAt(int x, int y)
Parameters
System. The x. |
System. The y. |
Returns
GetNodeByName(String)
Gets a node with the specified name.
Declaration
public RadTreeNode GetNodeByName(string name)
Parameters
System. The name of the node. |
Returns
Rad A node with the specified name. |
GetNodeByName(String, RadTreeNode)
Gets a node with the specified name.
Declaration
public RadTreeNode GetNodeByName(string name, RadTreeNode rootNode)
Parameters
System. The name of the node. |
Rad The node which the should be taken as a root. |
Returns
Rad A node with the specified name. |
GetNodeByPath(String)
Gets a node by specifying a path to it.
Declaration
public virtual RadTreeNode GetNodeByPath(string path)
Parameters
System. The path to the node. |
Returns
Rad The node if found. |
GetNodeByPath(String, String)
Gets a node by specifying a path to it.
Declaration
public virtual RadTreeNode GetNodeByPath(string path, string pathSeparator)
Parameters
System. The path to the node. |
System. The path separator. |
Returns
Rad The node if found. |
GetNodeCount(Boolean)
Gets the node count.
Declaration
public int GetNodeCount(bool includeSubTrees)
Parameters
System. if set to |
Returns
System.
|
GetNodeElementAt(Point)
Gets the node element at.
Declaration
public TreeNodeElement GetNodeElementAt(Point pt)
Parameters
System. The pt. |
Returns
GetNodeElementAt(Int32, Int32)
Gets the node element at.
Declaration
public TreeNodeElement GetNodeElementAt(int x, int y)
Parameters
System. The x. |
System. The y. |
Returns
GetNodes()
Gets an enumerator which enumerates all nodes in the tree.
Declaration
public IEnumerable<RadTreeNode> GetNodes()
Returns
System. The enumerator. |
InitializeDefaultContextMenu(RadTreeNode)
Declaration
protected virtual RadContextMenu InitializeDefaultContextMenu(RadTreeNode node)
Parameters
Rad
|
Returns
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnAutoSizeChanged()
Declaration
protected override void OnAutoSizeChanged()
Overrides
OnBindingContextChanged(EventArgs)
Declaration
protected virtual void OnBindingContextChanged(EventArgs e)
Parameters
System.
|
OnContextMenuOpening(TreeViewContextMenuOpeningEventArgs)
Declaration
protected virtual void OnContextMenuOpening(TreeViewContextMenuOpeningEventArgs e)
Parameters
OnCreateNode(CreateTreeNodeEventArgs)
Declaration
protected virtual void OnCreateNode(CreateTreeNodeEventArgs e)
Parameters
OnCreateNodeElement(CreateTreeNodeElementEventArgs)
Declaration
protected virtual void OnCreateNodeElement(CreateTreeNodeElementEventArgs e)
Parameters
OnDataError(TreeNodeDataErrorEventArgs)
Raises the Data
Declaration
protected virtual void OnDataError(TreeNodeDataErrorEventArgs e)
Parameters
Tree The Tree |
OnDragEnded(RadTreeViewDragEventArgs)
Declaration
protected virtual void OnDragEnded(RadTreeViewDragEventArgs e)
Parameters
OnDragEnding(RadTreeViewDragCancelEventArgs)
Declaration
protected virtual void OnDragEnding(RadTreeViewDragCancelEventArgs e)
Parameters
OnDragOverNode(RadTreeViewDragCancelEventArgs)
Declaration
protected virtual void OnDragOverNode(RadTreeViewDragCancelEventArgs e)
Parameters
OnDragStarted(RadTreeViewDragEventArgs)
Declaration
protected virtual void OnDragStarted(RadTreeViewDragEventArgs e)
Parameters
OnDragStarting(RadTreeViewDragCancelEventArgs)
Declaration
protected virtual void OnDragStarting(RadTreeViewDragCancelEventArgs e)
Parameters
OnEdited(TreeNodeEditedEventArgs)
Declaration
protected virtual void OnEdited(TreeNodeEditedEventArgs e)
Parameters
OnEditing(Object, TreeNodeEditingEventArgs)
Declaration
protected virtual void OnEditing(object sender, TreeNodeEditingEventArgs e)
Parameters
System.
|
Tree
|
OnEditing(TreeNodeEditingEventArgs)
Declaration
protected virtual void OnEditing(TreeNodeEditingEventArgs e)
Parameters
OnEditorInitialized(TreeNodeEditorInitializedEventArgs)
Declaration
protected virtual void OnEditorInitialized(TreeNodeEditorInitializedEventArgs e)
Parameters
OnEditorRequired(Object, TreeNodeEditorRequiredEventArgs)
Declaration
protected virtual void OnEditorRequired(object sender, TreeNodeEditorRequiredEventArgs e)
Parameters
System.
|
Tree
|
OnEditorRequired(TreeNodeEditorRequiredEventArgs)
Declaration
protected virtual void OnEditorRequired(TreeNodeEditorRequiredEventArgs e)
Parameters
OnItemDrag(RadTreeViewEventArgs)
Declaration
protected virtual void OnItemDrag(RadTreeViewEventArgs e)
Parameters
OnLoaded()
OnNodeAdded(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeAdded(RadTreeViewEventArgs e)
Parameters
OnNodeAdding(RadTreeViewCancelEventArgs)
Declaration
protected virtual void OnNodeAdding(RadTreeViewCancelEventArgs e)
Parameters
OnNodeCheckedChanged(RadTreeNode)
OnNodeCheckedChanged(RadTreeNode, CheckedMode)
Declaration
protected void OnNodeCheckedChanged(RadTreeNode node, CheckedMode checkedMode)
Parameters
Rad
|
Checked
|
OnNodeCheckedChanged(TreeNodeCheckedEventArgs)
Declaration
protected virtual void OnNodeCheckedChanged(TreeNodeCheckedEventArgs e)
Parameters
OnNodeCheckedChanging(RadTreeNode)
Declaration
protected bool OnNodeCheckedChanging(RadTreeNode node)
Parameters
Rad
|
Returns
System.
|
OnNodeCheckedChanging(RadTreeViewCancelEventArgs)
Declaration
protected virtual void OnNodeCheckedChanging(RadTreeViewCancelEventArgs e)
Parameters
OnNodeDataBound(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeDataBound(RadTreeViewEventArgs e)
Parameters
OnNodeExpandedChanged(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeExpandedChanged(RadTreeViewEventArgs e)
Parameters
OnNodeExpandedChanging(RadTreeNode)
Declaration
protected bool OnNodeExpandedChanging(RadTreeNode node)
Parameters
Rad
|
Returns
System.
|
OnNodeExpandedChanging(RadTreeViewCancelEventArgs)
Declaration
protected virtual void OnNodeExpandedChanging(RadTreeViewCancelEventArgs e)
Parameters
OnNodeFormatting(TreeNodeFormattingEventArgs)
Declaration
protected virtual void OnNodeFormatting(TreeNodeFormattingEventArgs e)
Parameters
OnNodeMouseClick(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeMouseClick(RadTreeViewEventArgs e)
Parameters
OnNodeMouseDoubleClick(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeMouseDoubleClick(RadTreeViewEventArgs e)
Parameters
OnNodeMouseDown(RadTreeViewMouseEventArgs)
Declaration
protected virtual void OnNodeMouseDown(RadTreeViewMouseEventArgs e)
Parameters
OnNodeMouseEnter(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeMouseEnter(RadTreeViewEventArgs e)
Parameters
OnNodeMouseHover(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeMouseHover(RadTreeViewEventArgs e)
Parameters
OnNodeMouseLeave(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeMouseLeave(RadTreeViewEventArgs e)
Parameters
OnNodeMouseMove(RadTreeViewMouseEventArgs)
Declaration
protected virtual void OnNodeMouseMove(RadTreeViewMouseEventArgs e)
Parameters
OnNodeMouseUp(RadTreeViewMouseEventArgs)
Declaration
protected virtual void OnNodeMouseUp(RadTreeViewMouseEventArgs e)
Parameters
OnNodeRemoved(RadTreeViewEventArgs)
Declaration
protected virtual void OnNodeRemoved(RadTreeViewEventArgs e)
Parameters
OnNodeRemoving(RadTreeViewCancelEventArgs)
Declaration
protected virtual void OnNodeRemoving(RadTreeViewCancelEventArgs e)
Parameters
OnNodesNeeded(NodesNeededEventArgs)
Declaration
protected virtual bool OnNodesNeeded(NodesNeededEventArgs e)
Parameters
Returns
System.
|
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.
|
Overrides
OnPanGesture(PanGestureEventArgs)
Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
Pan
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnSelectedNodeChanged(RadTreeViewEventArgs)
Declaration
protected virtual void OnSelectedNodeChanged(RadTreeViewEventArgs args)
Parameters
Rad
|
OnSelectedNodeChanging(RadTreeViewCancelEventArgs)
Declaration
protected virtual void OnSelectedNodeChanging(RadTreeViewCancelEventArgs args)
Parameters
OnSelectedNodesChanged(RadTreeNode)
Declaration
protected virtual void OnSelectedNodesChanged(RadTreeNode node)
Parameters
Rad
|
OnSelectedNodesCleared()
Declaration
protected virtual void OnSelectedNodesCleared()
OnShowExpander(TreeViewShowExpanderEventArgs)
Declaration
protected virtual void OnShowExpander(TreeViewShowExpanderEventArgs e)
Parameters
OnStyleChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnStyleChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
OnValidationError(EventArgs)
Declaration
protected virtual void OnValidationError(EventArgs e)
Parameters
System.
|
OnValueChanged(TreeNodeValueChangedEventArgs)
Declaration
protected virtual void OnValueChanged(TreeNodeValueChangedEventArgs e)
Parameters
OnValueChanging(TreeNodeValueChangingEventArgs)
Declaration
protected virtual void OnValueChanging(TreeNodeValueChangingEventArgs e)
Parameters
OnValueValidating(TreeNodeValidatingEventArgs)
Declaration
protected virtual void OnValueValidating(TreeNodeValidatingEventArgs e)
Parameters
PassesFilter(RadTreeNode)
Declaration
protected virtual bool PassesFilter(RadTreeNode node)
Parameters
Rad
|
Returns
System.
|
ProcessContextMenu(Point)
Declaration
protected virtual bool ProcessContextMenu(Point location)
Parameters
System.
|
Returns
System.
|
ProcessKeyDown(KeyEventArgs)
Declaration
protected virtual bool ProcessKeyDown(KeyEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessKeyPress(KeyPressEventArgs)
Declaration
protected virtual bool ProcessKeyPress(KeyPressEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessMouseClick(MouseEventArgs)
Declaration
protected virtual bool ProcessMouseClick(MouseEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessMouseDoubleClick(MouseEventArgs)
Declaration
protected virtual bool ProcessMouseDoubleClick(MouseEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessMouseDown(MouseEventArgs)
Declaration
protected virtual bool ProcessMouseDown(MouseEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessMouseMove(MouseEventArgs)
Declaration
protected virtual bool ProcessMouseMove(MouseEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessMouseUp(MouseEventArgs)
Declaration
protected virtual bool ProcessMouseUp(MouseEventArgs e)
Parameters
System.
|
Returns
System.
|
ProcessMouseWheel(MouseEventArgs)
Declaration
protected virtual bool ProcessMouseWheel(MouseEventArgs e)
Parameters
System.
|
Returns
System.
|
ProecessMouseEnter(EventArgs)
Declaration
protected virtual bool ProecessMouseEnter(EventArgs e)
Parameters
System.
|
Returns
System.
|
ProecessMouseLeave(EventArgs)
Declaration
protected virtual bool ProecessMouseLeave(EventArgs e)
Parameters
System.
|
Returns
System.
|
ResumeProvider()
Declaration
protected void ResumeProvider()
SaveEditorValue(TreeNodeElement, Object)
Declaration
protected virtual void SaveEditorValue(TreeNodeElement nodeElement, object newValue)
Parameters
Tree
|
System.
|
ScrollTo(Int32)
Scrolls to.
Declaration
public void ScrollTo(int delta)
Parameters
System. The delta. |
SelectAll()
Declaration
public virtual void SelectAll()
SetError(String, RadTreeNode, Object[])
Sets the error.
Declaration
public void SetError(string text, RadTreeNode radTreeNode, params object[] context)
Parameters
System. The text. |
Rad The RAD tree node. |
System. The context where this error occurred. |
SuspendProvider()
Declaration
protected void SuspendProvider()
SynchronizeNodeElements()
Declaration
protected virtual void SynchronizeNodeElements()
Update(RadTreeViewElement.UpdateActions)
Updates the visual items in the three view
Declaration
public void Update(RadTreeViewElement.UpdateActions updateAction)
Parameters
Rad Indicated the update action |
Update(RadTreeViewElement.UpdateActions, RadTreeNode[])
Updates the visual items in the three view
Declaration
public void Update(RadTreeViewElement.UpdateActions updateAction, params RadTreeNode[] nodes)
Parameters
Rad Indicated the update action |
Rad Array representing the nodes which should be updated |
UpdateActualSize(RadTreeNode, Boolean, RadTreeNode)
Declaration
protected virtual void UpdateActualSize(RadTreeNode node, bool stopOnSameLevel, RadTreeNode skipNode)
Parameters
Rad
|
System.
|
Rad
|
UpdateFitToSizeMode()
Declaration
protected override void UpdateFitToSizeMode()
Overrides
UpdateHScrollbarVisibility()
Declaration
protected virtual void UpdateHScrollbarVisibility()
UpdateOnExpandedChanged(RadTreeViewElement.UpdateActions, RadTreeNode)
Declaration
protected virtual bool UpdateOnExpandedChanged(RadTreeViewElement.UpdateActions updateAction, RadTreeNode node)
Parameters
Rad
|
Rad
|
Returns
System.
|
UpdateOnExpandedChangedCore(RadTreeNode)
Declaration
protected virtual void UpdateOnExpandedChangedCore(RadTreeNode node)
Parameters
Rad
|
UpdateOnMeasure(SizeF)
Declaration
protected override bool UpdateOnMeasure(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
UpdateScrollers(RadTreeNode, RadTreeViewElement.UpdateActions)
Declaration
protected virtual void UpdateScrollers(RadTreeNode skipNode, RadTreeViewElement.UpdateActions updateAction)
Parameters
Rad
|
Rad
|
UpdateScrollersOnAdd(RadTreeNode)
Declaration
protected virtual void UpdateScrollersOnAdd(RadTreeNode node)
Parameters
Rad
|
UpdateScrollersOnCollapse(RadTreeNode)
Declaration
protected virtual void UpdateScrollersOnCollapse(RadTreeNode node)
Parameters
Rad
|
UpdateScrollersOnExpand(RadTreeNode)
Declaration
protected virtual void UpdateScrollersOnExpand(RadTreeNode node)
Parameters
Rad
|
UpdateScrollersOnNodesNeeded(RadTreeNode)
Declaration
protected virtual void UpdateScrollersOnNodesNeeded(RadTreeNode node)
Parameters
Rad
|
Events
BindingContextChanged
Occurs when [binding context changed].
Declaration
public event EventHandler BindingContextChanged
Event Type
System.
|
Implements
ContextMenuOpening
Declaration
public event TreeViewContextMenuOpeningEventHandler ContextMenuOpening
Event Type
CreateNode
Occurs when Rad
Declaration
public event CreateTreeNodeEventHandler CreateNode
Event Type
CreateNodeElement
Occurs when Tree
Declaration
public event CreateTreeNodeElementEventHandler CreateNodeElement
Event Type
DataError
Occurs when [data error].
Declaration
public event TreeNodeDataErrorEventHandler DataError
Event Type
DragEnded
Occurs when a drag has ended
Declaration
public event RadTreeView.DragEndedHandler DragEnded
Event Type
DragEnding
Occurs when a drag is ending
Declaration
public event RadTreeView.DragEndingHandler DragEnding
Event Type
DragOverNode
Occurs when drag feedback is needed for a node.
Declaration
public event EventHandler<RadTreeViewDragCancelEventArgs> DragOverNode
Event Type
System.
|
DragStarted
Occurs when a drag has started
Declaration
public event RadTreeView.DragStartedHandler DragStarted
Event Type
DragStarting
Occurs when a drag is starting
Declaration
public event RadTreeView.DragStartingHandler DragStarting
Event Type
Edited
Occurs when editing has been finished.
Declaration
public event TreeNodeEditedEventHandler Edited
Event Type
Editing
Occurs when editing is started.
Declaration
public event TreeNodeEditingEventHandler Editing
Event Type
EditorInitialized
Occurs when editor is initialized.
Declaration
public event TreeNodeEditorInitializedEventHandler EditorInitialized
Event Type
EditorRequired
Occurs when editor is required.
Declaration
public event RadTreeView.EditorRequiredHandler EditorRequired
Event Type
ItemDrag
Occurs when the user begins dragging an item.
Declaration
public event RadTreeView.ItemDragHandler ItemDrag
Event Type
NodeAdded
Occurs after a node is being added.
Declaration
public event RadTreeView.RadTreeViewEventHandler NodeAdded
Event Type
NodeAdding
Declaration
public event RadTreeView.RadTreeViewCancelEventHandler NodeAdding
Event Type
NodeCheckedChanged
Occurs when node's checked state is changed.
Declaration
public virtual event TreeNodeCheckedEventHandler NodeCheckedChanged
Event Type
NodeCheckedChanging
Occurs when node's checked state is changing.
Declaration
public virtual event RadTreeView.RadTreeViewCancelEventHandler NodeCheckedChanging
Event Type
NodeDataBound
Occurs after a node is bound to a data item.
Declaration
public event RadTreeView.RadTreeViewEventHandler NodeDataBound
Event Type
NodeExpandedChanged
Occurs when node has been expanded.
Declaration
public event RadTreeView.TreeViewEventHandler NodeExpandedChanged
Event Type
NodeExpandedChanging
Occurs when node is expanding.
Declaration
public event RadTreeView.RadTreeViewCancelEventHandler NodeExpandedChanging
Event Type
NodeFormatting
Occurs when Tree
Declaration
public event TreeNodeFormattingEventHandler NodeFormatting
Event Type
NodeMouseClick
Occurs when a mouse button is clicked inside a Tree
Declaration
public event RadTreeView.TreeViewEventHandler NodeMouseClick
Event Type
NodeMouseDoubleClick
Occurs when a mouse button is double clicked inside a Tree
Declaration
public event RadTreeView.TreeViewEventHandler NodeMouseDoubleClick
Event Type
NodeMouseDown
Occurs when Tree
Declaration
public event RadTreeView.TreeViewMouseEventHandler NodeMouseDown
Event Type
NodeMouseEnter
Occurs when mouse enters a Tree
Declaration
public event RadTreeView.TreeViewEventHandler NodeMouseEnter
Event Type
NodeMouseHover
Occurs when Tree
Declaration
public event RadTreeView.TreeViewEventHandler NodeMouseHover
Event Type
NodeMouseLeave
Occurs when mouse leaves a Tree
Declaration
public event RadTreeView.TreeViewEventHandler NodeMouseLeave
Event Type
NodeMouseMove
Occurs when mouse is move over a Tree
Declaration
public event RadTreeView.TreeViewMouseEventHandler NodeMouseMove
Event Type
NodeMouseUp
Occurs when Tree
Declaration
public event RadTreeView.TreeViewMouseEventHandler NodeMouseUp
Event Type
NodeRemoved
Occurs after a node is removed.
Declaration
public event RadTreeView.RadTreeViewEventHandler NodeRemoved
Event Type
NodeRemoving
Declaration
public event RadTreeView.RadTreeViewCancelEventHandler NodeRemoving
Event Type
NodesNeeded
Occurs when nodes are needed in load on demand hierarchy
Declaration
public event NodesNeededEventHandler NodesNeeded
Event Type
SelectedNodeChanged
Occurs when selected node has been changed.
Declaration
public virtual event RadTreeView.RadTreeViewEventHandler SelectedNodeChanged
Event Type
SelectedNodeChanging
Occurs when the selected node is changing
Declaration
public virtual event RadTreeView.RadTreeViewCancelEventHandler SelectedNodeChanging
Event Type
SelectedNodesChanged
Occurs when SelectedNodes collection has been changed.
Declaration
public virtual event EventHandler<RadTreeViewEventArgs> SelectedNodesChanged
Event Type
System.
|
SelectedNodesCleared
Occurs when selected node has been cleared.
Declaration
public virtual event EventHandler SelectedNodesCleared
Event Type
System.
|
ShowExpander
Occurs when LazyMode is true and NodesNeeded event is handled
Declaration
public event RadTreeView.TreeViewShowExpanderEventHandler ShowExpander
Event Type
ValidationError
Occurs when validation error occurs by canceling the ValueValidating event.
Declaration
public event EventHandler ValidationError
Event Type
System.
|
ValueChanged
Occurs when node's value has been changed.
Declaration
public event TreeNodeValueChangedEventHandler ValueChanged
Event Type
ValueChanging
Occurs when node's value is changing.
Declaration
public event TreeNodeValueChangingEventHandler ValueChanging
Event Type
ValueValidating
Occurs when node's value is validating.
Declaration
public event TreeNodeValidatingEventHandler ValueValidating
Event Type
Explicit Interface Implementations
IDataItemSource.BindingComplete()
IDataItemSource.Initialize()
IDataItemSource.MetadataChanged(PropertyDescriptor)
Declaration
void IDataItemSource.MetadataChanged(PropertyDescriptor pd)
Parameters
System.
|
Implements
IDataItemSource.NewItem()
Declaration
IDataItem IDataItemSource.NewItem()