Search
TreeViewNode Methods
 


 Public Methods

  Name Description

AcceptLinks

DiagramNode.AcceptLinks override.

AddLabel

Overloaded.   (Inherited from DiagramNode.)

AttachTo

Overloaded. Attaches this node to another diagram item. (Inherited from DiagramNode.)

ClearStyleableProperties

Clears the local values of all styleable appearance properties. (Inherited from DiagramItem.)

Clone

Creates a copy of this item. (Inherited from DiagramItem.)

Collapse

Hides all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

ContainsPoint

Overloaded.   (Inherited from DiagramNode.)

Detach

Detaches this node from its master item. (Inherited from DiagramNode.)

Dispose

Overloaded.   (Inherited from DiagramItem.)

Draw

Draws the node on the specified DrawingContext.

DrawAnchorPoints

Draws the anchor points of this node. (Inherited from DiagramNode.)

DrawHandles

DiagramItem.DrawHandles override. (Inherited from DiagramNode.)

DrawLocal

Draws the node on the specified DrawingContext.

Expand

Shows all nodes and links in the subtree starting from this node. (Inherited from DiagramNode.)

GetAllLinks

Gets all links connected to this node. (Inherited from DiagramNode.)

GetBounds

Gets the bounding rectangle of this item. (Inherited from DiagramNode.)

GetCenter

Gets the center of this node's bounding rectangle. (Inherited from DiagramNode.)

GetIntersection

Calculates the intersecion point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.)

GetItemRect

Gets the location and size of the specified TreeViewItem.

GetNearestBorderPoint

Returns a point that lies on the outline of this node, at the shortest distance from the specified point. (Inherited from DiagramNode.)

GetRegion

DiagramItem.GetRegion override. (Inherited from DiagramNode.)

GetRepaintRect

DiagramItem.GetRepaintRect override. (Inherited from DiagramNode.)

GetRotatedBounds

Overloaded.   (Inherited from DiagramNode.)

GetRotationAngle

Gets the rotation angle of this node. (Inherited from DiagramNode.)

GetToolTip

DiagramItem.GetToolTip override. (Inherited from DiagramNode.)

HitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

HitTestExpander

Gets whether there is a collapse/expand button located at the specified position.

HitTestHandle

DiagramItem.HitTestHandle override. (Inherited from DiagramNode.)

HitTestManipulators

DiagramItem.HitTestManipulators override. (Inherited from DiagramNode.)

Intersects

DiagramItem.Intersects override. Checks whether the specified rectangle intersects with this node. (Inherited from DiagramNode.)

ItemFromPoint

Returns the item at the specified location.

LabelFromPoint

Returns the label whose layout rectangle contains the specified point. (Inherited from DiagramNode.)

Move

Moves the node to the specified location. (Inherited from DiagramNode.)

NotInteractive

Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.)

NowModifying

Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.)

OnDragOut

Invoked when a diagram item is being dragged out of this node. (Inherited from DiagramNode.)

OnDragOver

Invoked when a diagram item is being dragged over this node. (Inherited from DiagramNode.)

OnDropOver

Invoked when a diagram item is dropped over this node. (Inherited from DiagramNode.)

Query

Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.)

ReassignAnchorPoints

Reassigns links to anchor points so that they are evenly disctributed. (Inherited from DiagramNode.)

ReassignUnanchoredLinks

Reassigns unanchored links (Inherited from DiagramNode.)

RemoveItem

Removes the specified item from the node.

RemoveLabel

Removes the specified label from this node. (Inherited from DiagramNode.)

Repaint

DiagramItem.Repaint override. (Inherited from DiagramNode.)

Resize

Resizes the node. (Inherited from DiagramNode.)

SetBounds

Sets the location and size of this node. (Inherited from DiagramNode.)

SetExpandedFlag

Sets the 'expanded' flag, repainting the node. (Inherited from DiagramNode.)

SetRect

This method is used internally by the Ruler control to align nodes. (Inherited from DiagramNode.)

TransformDiagramToItem

Transforms a point from document coordinates to item coordinates. (Inherited from DiagramItem.)

TransformItemToDiagram

Transforms point from item-relative coordinates to document coordinates. (Inherited from DiagramItem.)

UpdateAnimation

Invoked by running animations to update an item according to current animation progress. (Inherited from DiagramNode.)

ZBottom

Moves the item to the bottom of the z-order. (Inherited from DiagramItem.)

ZLevelDown

Moves the item one level down in the z-order. (Inherited from DiagramItem.)

ZLevelUp

Moves the item one level up in the z-order. (Inherited from DiagramItem.)

ZTop

Moves the item to the top of the z-order. (Inherited from DiagramItem.)

 Protected Methods

  Name Description

AddToVisualContainer

Adds this item to specified container element. (Inherited from DiagramItem.)

AllowCreate

DiagramItem.AllowCreate override. (Inherited from DiagramNode.)

AllowModify

DiagramItem.AllowModify override. (Inherited from DiagramNode.)

ArrangeOverride

FrameworkElement.ArrangeOverride override. (Inherited from DiagramNode.)

CompleteCreate

DiagramItem.CompleteCreate override. (Inherited from DiagramNode.)

CompleteModify

Overloaded.   (Inherited from DiagramNode.)

ConstraintsInfringed

Check whether the KeepInsideParent constrained is being violated. (Inherited from DiagramNode.)

CreateConnectionPoint

DiagramNode.CreateConnectionPoint override.

CreateProperties

DiagramItem.CreateProperties override.

CreateRenderer

DiagramItem.CreateRenderer override. (Inherited from DiagramNode.)

CreateState

DiagramItem.CreateState override. (Inherited from DiagramNode.)

DrawManipulators

Draws the associated manipulators in the specified context. (Inherited from DiagramItem.)

EnumStyleableProperties

DiagramNode.EnumStyleableProperties override.

FreeResources

Called when the item is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramItem.)

GetAllIncomingLinks

DiagramNode.GetAllIncomingLinks override.

GetAllOutgoingLinks

DiagramNode.GetAllOutgoingLinks override.

GetDefaultTemplate

Returns a DataTemplate that should be used to render the node if its own Template property is not set. (Inherited from DiagramNode.)

GetHeight

Gets the height of this item. (Inherited from DiagramItem.)

GetLocalBounds

Gets this node's bounding rectangle in local coordinates. (Inherited from DiagramNode.)

GetTextRect

Subtracts the TextPadding values from the specified rectangle. (Inherited from DiagramItem.)

GetVisualChild

Visual.GetVisualChild override.

GetWidth

Gets the width of this item. (Inherited from DiagramItem.)

GetX

Gets the x-coordinate of the current position of this item. (Inherited from DiagramItem.)

GetY

Gets the y-coordinate of the current position of this item. (Inherited from DiagramItem.)

GroupContains

Determines whether this node is a predecessor of the specified node in the group hierarchy. (Inherited from DiagramNode.)

LoadFromJson

Loads the node from a JSON object.

LoadFromXml

Loads the item content from an XML element.

MeasureOverride

FrameworkElement.MeasureOverride override. (Inherited from DiagramNode.)

OnAdd

Called when this node is added to the Diagram. (Inherited from DiagramNode.)

OnAppearanceChanged

Invoked when any of the item's appearance properties changes. (Inherited from DiagramItem.)

OnChildModified

Called when a child node has been modified. (Inherited from DiagramItem.)

OnChildModifying

Called when a child node is being modified. (Inherited from DiagramItem.)

OnLoad

DiagramItem.OnLoad override.

OnMeasureUnitChanged

Called when the Diagram's MeasureUnit changes.

OnMouseDown

UIElement.OnMouseDown override.

OnMouseUp

UIElement.OnMouseUp override. (Inherited from DiagramItem.)

OnPositioningChanged

Called when the item's position changes. (Inherited from DiagramItem.)

OnPreviewMouseDown

UIElement.OnPreviewMouseWheel override. (Inherited from DiagramItem.)

OnPreviewMouseUp

UIElement.OnPreviewMouseUp override. (Inherited from DiagramItem.)

OnRemove

DiagramItem.OnRemove override. (Inherited from DiagramNode.)

OnRender

UIElement.OnRender override. (Inherited from DiagramItem.)

OnSerializablePropertyChanged

Invoked when a FrameworkElement property serializable by DiagramItem changes. (Inherited from DiagramItem.)

OnSizeChanged

Called when the size of the item changes.

OnStrokeAttributeChanged

Invoked when any of the item's stroke attributes changes. (Inherited from DiagramItem.)

OnTextAttributeChanged

DiagramItem.OnTextAttributeChanged override.

OnUpdateBounds

DiagramNode.OnUpdateBounds override.

OnZoomChanged

Called when view's ZoomFactor changes.

RestoreProperties

DiagramNode.RestoreProperties override.

RestoreState

DiagramItem.RestoreState override. (Inherited from DiagramNode.)

SaveProperties

DiagramNode.SaveProperties override.

SaveState

DiagramItem.SaveState override. (Inherited from DiagramNode.)

SaveToJson

Saves the node as a JSON object.

SaveToXml

Saves the item content into an XML element.

ScaleElements

DiagramNode.ScaleElements override.

SetDiagramDirty

Marks the diagram as changed. (Inherited from DiagramItem.)

SetExpandable

Internally sets the expandable state of this object to the specified value, adding or removing an Expander manipulator object if necessary. (Inherited from DiagramNode.)

SetExpanded

DiagramItem.SetExpanded override. (Inherited from DiagramNode.)

SetIncomingLinks

Sets the incoming links collection of this node. (Inherited from DiagramNode.)

SetOutgoingLinks

Sets the outgoing links collection of this node. (Inherited from DiagramNode.)

SetReflexive

DiagramNode.SetReflexive override.

ShouldRender

Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.)

ShouldRenderAnchorPoints

Determines whether the node should render its anchor points. (Inherited from DiagramNode.)

StartCreate

DiagramItem.StartCreate override. (Inherited from DiagramNode.)

StartModify

DiagramItem.StartModify override. (Inherited from DiagramNode.)

UpdateCreate

DiagramItem.UpdateCreate override. (Inherited from DiagramNode.)

UpdateGroup

Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.)

UpdateLinkIntersections

Updates the intersection points of links, conntected to this node and its outline, usually in response to change in the node's shape. (Inherited from DiagramNode.)

UpdateLinkPositions

Updates the end points of the links, connected to this node, usually in response to change in the node's size or shape. (Inherited from DiagramNode.)

UpdateModify

DiagramItem.UpdateModify override. (Inherited from DiagramNode.)

 See Also