Represents an item in the diagram document. All classes representing diagram elements derive from DiagramItem.
The following tables list the members exposed by the DiagramItem type.
Name | Description | |
---|---|---|
Overloaded. Initializes a new instance of the DiagramItem class. |
Name | Description | |
---|---|---|
Identifies the Brush property. |
||
Identifies the HyperLink property. |
||
Identifies the Id property. |
||
Identifies the IgnoreLayout property. |
||
Identifies the LayerIndex property. |
||
Identifies the Locked property. |
||
Identifies the Pen property. |
||
Identifies the ShadowBrush property. |
||
Identifies the ShadowOffsetX property. |
||
Identifies the ShadowOffsetY property. |
||
Identifies the Tag property. |
||
Identifies the TextBrush property. |
||
Identifies the TextPadding property. |
||
Identifies the Visible property. |
||
Idenitifies the Weight property. |
||
Identifies the ZIndex property. |
Name | Description | |
---|---|---|
Gets a reference to the list of items that are attached to this one. |
||
Gets or sets the brush used to fill the interior of this item. |
||
Gets the effective brush of the item. |
||
Gets the currently effective font of the item. |
||
Gets the effective pen of the item. |
||
Gets the effective shadow brush of the item. |
||
Gets the effective text brush of the item. |
||
Gets or sets the font used to render the item's text. |
||
Gets or sets the hyper link. |
||
Gets or sets user-defined identifier associated with this item. |
||
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. |
||
Gets or sets the zero-based index of the layer this item is associated with, or -1, if the item is not associated with a layer. |
||
Contains properties specific to each layout algorithm. |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. |
||
Gets the diagram that contains this item. |
||
Gets or sets the pen used to paint the frame of the item. |
||
For internal use. |
||
Gets or sets a value indicating whether a diagram item is selected. |
||
Gets or sets the brush used to paint the item's shadow. |
||
Gets or sets the horizontal offset of the shadow of this item. |
||
Gets or sets the vertical offset of the shadow of this item. |
||
Gets or sets the style associated with the item. |
||
Gets or sets user-defined data associated with this item. |
||
Gets or sets the brush used to paint texts inside the item. |
||
Gets or sets the spacing between the item boundaries and its text. |
||
True if this is a top-level item in the diagram, or false if it is inside a container. |
||
Gets or sets a value indicating whether this item is visible. |
||
Gets or sets a weight value used in layout and path-finding algorithms. |
||
Gets or sets the z-order position of this item. |
Name | Description | |
---|---|---|
Returns the diagram measure unit. |
Name | Description | |
---|---|---|
Creates a copy of this item. |
||
Overloaded. Determines whether this item contains the specified point. |
||
Draws the item on the specified IGraphics surface. |
||
Renders the adjustment handles of this item. |
||
Draws the shadow of this item on the specified IGraphics surface. |
||
Gets the bounding rectangle of this item. |
||
Gets a polygon approximating the outline of this object. |
||
Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. |
||
Gets the bounding rectangle of this item when it is rotated. |
||
Returns the diagram item that contains the specified point. |
||
Determines whether a selection handle of this item is located at the specified point. |
||
Gets whether the user is prevented from manipulating this item. |
||
Called after successful deserialization. |
||
For internal use. |
||
For internal use. |
||
Moves the item to the bottom of the z-order. |
||
Moves the item one level down in the z-order. |
||
Moves the item one level up in the z-order. |
||
Moves the item to the top of the z-order. |
Name | Description | |
---|---|---|
Adds the specified manipulator to this object. |
||
Creates an item property set corresponding to the type of this diagram item. |
||
Creates an item state corresponding to the type of this diagram item. |
||
Overloaded. Draws the associated manipulators on a specified graphics. |
||
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. |
||
Gets the effective value of the style property with the specified name. |
||
Invoked when the user releases his finger over this item. |
||
Loads the item content from a JsonObject. |
||
Loads the item content from an XML element. |
||
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. |
||
Called when a group child node has been modified. |
||
Invoked when the Font property has changed. |
||
Called when the diagram's MeasureUnit changes. |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. |
||
Invoked when the associated style or theme have changed. |
||
Called when the MindFusion.Diagramming for .NET MAUI's ZoomFactor changes. |
||
Raises an event which notifies that an item has been clicked. |
||
Removes the specified manipulator from the object. |
||
Overloaded. Repaints the specified region of the diagram. |
||
Restores the properties of this diagram item. |
||
Restores the state of this diagram item. |
||
Saves the properties of this diagram item. |
||
Saves the state of this diagram item. |
||
Saves the item content into a JsonObject. |
||
Saves the item content into an XML element. |
||
Marks the diagram as changed. |
||
Sets whether the item is in expanded or collapsed state. |
||
Determines whether the item should be rendered in the current context. |