Search
DiagramItem Methods
 


 Public Methods

  Name Description

Clone

Creates a copy of this item.

ContainsPoint

Overloaded. Determines whether this item contains the specified point.

Draw

Draws the item on the specified IGraphics surface.

DrawHandles

Renders the adjustment handles of this item.

DrawShadow

Draws the shadow of this item on the specified IGraphics surface.

GetBounds

Gets the bounding rectangle of this item.

GetOutlinePoly

Gets a polygon approximating the outline of this object.

GetRepaintRect

Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow.

GetRotatedBounds

Gets the bounding rectangle of this item when it is rotated.

HitTest

Returns the diagram item that contains the specified point.

HitTestHandle

Determines whether a selection handle of this item is located at the specified point.

NotInteractive

Gets whether the user is prevented from manipulating this item.

OnLoad

Called after successful deserialization.

RestoreItemProperties

For internal use.

SaveItemProperties

For internal use.

ZBottom

Moves the item to the bottom of the z-order.

ZLevelDown

Moves the item one level down in the z-order.

ZLevelUp

Moves the item one level up in the z-order.

ZTop

Moves the item to the top of the z-order.

 Protected Methods

  Name Description

AddManipulator

Adds the specified manipulator to this object.

CreateProperties

Creates an item property set corresponding to the type of this diagram item.

CreateState

Creates an item state corresponding to the type of this diagram item.

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics.

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.

GetValue

Gets the effective value of the style property with the specified name.

HandleTap

Invoked when the user releases his finger over this item.

LoadFromJson

Loads the item content from a JsonObject.

LoadFromXml

Loads the item content from an XML element.

OnAdd

Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo.

OnChildModified

Called when a group child node has been modified.

OnFontChanged

Invoked when the Font property has changed.

OnMeasureUnitChanged

Called when the diagram's MeasureUnit changes.

OnRemove

Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo.

OnStyleChanged

Invoked when the associated style or theme have changed.

OnZoomChanged

Called when the MindFusion.Diagramming for .NET MAUI's ZoomFactor changes.

RaiseClicked

Raises an event which notifies that an item has been clicked.

RemoveManipulator

Removes the specified manipulator from the object.

Repaint

Overloaded. Repaints the specified region of the diagram.

RestoreProperties

Restores the properties of this diagram item.

RestoreState

Restores the state of this diagram item.

SaveProperties

Saves the properties of this diagram item.

SaveState

Saves the state of this diagram item.

SaveToJson

Saves the item content into a JsonObject.

SaveToXml

Saves the item content into an XML element.

SetDiagramDirty

Marks the diagram as changed.

SetExpanded

Sets whether the item is in expanded or collapsed state.

ShouldRender

Determines whether the item should be rendered in the current context.

 See Also