Search
Selection Methods
 


 Public Methods

  Name Description

AddItem

Adds a new item to the current selection.

Change

Selects an item and deselects all others.

Clear

Removes all items from the selection.

ClearStyleableProperties

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

Clone

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

ContainsPoint

Overloaded.  

Dispose

Overloaded.   (Inherited from DiagramItem.)

Draw

DiagramItem.Draw override.

DrawHandles

DiagramItem.DrawHandles override.

GetBounds

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

GetRegion

Returns a Geometry object representing the shape of this item. (Inherited from DiagramItem.)

GetRepaintRect

DiagramItem.GetRepaintRect override.

GetRotatedBounds

Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramItem.)

GetRotationAngle

Gets the item rotation angle. (Inherited from DiagramItem.)

GetSize

Gets the number of selected items.

GetToolTip

Gets the tooltip that should be displayed for this item at the specified point. (Inherited from DiagramItem.)

HitTest

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

HitTestHandle

DiagramItem.HitTestHandle override.

HitTestManipulators

Triggers the manipulator located at the specified point. (Inherited from DiagramItem.)

Intersects

Checks whether the specified rectangle intersects with this diagram item. (Inherited from DiagramItem.)

LabelFromPoint

Returns the ItemLabel located at specified point. (Inherited from DiagramItem.)

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.)

Query

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

RemoveItem

Removes an item from the selection.

Repaint

Overloaded.   (Inherited from DiagramItem.)

Toggle

Toggles the selection state of an item.

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.)

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.

AllowModify

DiagramItem.AllowModify override.

CompleteCreate

DiagramItem.CompleteCreate override.

CompleteModify

DiagramItem.CompleteModify override.

CreateProperties

Creates an item property set corresponding to the type of this diagram item. (Inherited from DiagramItem.)

CreateRenderer

DiagramItem.CreateRenderer override.

CreateState

Creates an item state corresponding to the type of this diagram item. (Inherited from DiagramItem.)

DrawManipulators

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

EnumStyleableProperties

Applies specified function on properties intended to be set from WPF styles. (Inherited from DiagramItem.)

FreeResources

DiagramItem.FreeResources override.

GetHeight

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

GetTextRect

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

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.)

LoadFromJson

Loads the item from a JSON object. (Inherited from DiagramItem.)

LoadFromXml

Loads the item content from an XML element. (Inherited from DiagramItem.)

MeasureOverride

FrameworkElement.MeasureOverride override. (Inherited from DiagramItem.)

OnAdd

Called when the item is added to a Diagram, either by the user, programmatically or performing undo / redo. (Inherited from DiagramItem.)

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

Called after successful deserialization. (Inherited from DiagramItem.)

OnMeasureUnitChanged

Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.)

OnMouseDown

UIElement.OnMouseDown override. (Inherited from DiagramItem.)

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

Called when an item is removed from a Diagram, either by the user, programmatically or while performing undo / redo. (Inherited from DiagramItem.)

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. (Inherited from DiagramItem.)

OnStrokeAttributeChanged

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

OnTextAttributeChanged

Invoked when any of the attributes defined in ITextAttributes changes. (Inherited from DiagramItem.)

OnZoomChanged

Called when the ZoomFactor changes. (Inherited from DiagramItem.)

RestoreProperties

Restores the properties of this diagram item. (Inherited from DiagramItem.)

RestoreState

Restores the state of this diagram item. (Inherited from DiagramItem.)

SaveProperties

Saves the properties of this diagram item. (Inherited from DiagramItem.)

SaveState

Saves the state of this diagram item. (Inherited from DiagramItem.)

SaveToJson

Saves the item as a JSON object. (Inherited from DiagramItem.)

SaveToXml

Saves the item content into an XML element. (Inherited from DiagramItem.)

SetDiagramDirty

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

SetExpanded

Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.)

ShouldRender

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

StartCreate

DiagramItem.StartCreate override.

StartModify

DiagramItem.StartModify override.

UpdateCreate

DiagramItem.UpdateCreate override.

UpdateGroup

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

UpdateModify

DiagramItem.UpdateModify override.

 See Also