Search
Selection Members
Fields Properties Methods
 


Represents a set of items selected in the diagram document.

The following tables list the members exposed by the Selection type.

 Public Fields

  Name Description

BrushProperty

Identifies the Brush property. (Inherited from DiagramItem.)

HyperLinkProperty

Identifies the HyperLink property. (Inherited from DiagramItem.)

IdProperty

Identifies the Id property. (Inherited from DiagramItem.)

IgnoreLayoutProperty

Identifies the IgnoreLayout property. (Inherited from DiagramItem.)

LayerIndexProperty

Identifies the LayerIndex property. (Inherited from DiagramItem.)

LockedProperty

Identifies the Locked property. (Inherited from DiagramItem.)

PenProperty

Identifies the Pen property. (Inherited from DiagramItem.)

ShadowBrushProperty

Identifies the ShadowBrush property. (Inherited from DiagramItem.)

ShadowOffsetXProperty

Identifies the ShadowOffsetX property. (Inherited from DiagramItem.)

ShadowOffsetYProperty

Identifies the ShadowOffsetY property. (Inherited from DiagramItem.)

TagProperty

Identifies the Tag property. (Inherited from DiagramItem.)

TextBrushProperty

Identifies the TextBrush property. (Inherited from DiagramItem.)

TextPaddingProperty

Identifies the TextPadding property. (Inherited from DiagramItem.)

VisibleProperty

Identifies the Visible property. (Inherited from DiagramItem.)

WeightProperty

Idenitifies the Weight property. (Inherited from DiagramItem.)

ZIndexProperty

Identifies the ZIndex property. (Inherited from DiagramItem.)

 Public Properties

  Name Description

AllowMultipleSelection

Gets or sets a value indicating whether more than one items can be selected simultaneously.

AttachedNodes

Gets a reference to the list of items that are attached to this one. (Inherited from DiagramItem.)

Bounds

Gets the rectangle that bounds all selected items.

Brush

Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.)

EffectiveBrush

Gets the effective brush of the item. (Inherited from DiagramItem.)

EffectiveFont

Gets the currently effective font of the item. (Inherited from DiagramItem.)

EffectivePen

Gets the effective pen of the item. (Inherited from DiagramItem.)

EffectiveShadowBrush

Gets the effective shadow brush of the item. (Inherited from DiagramItem.)

EffectiveTextBrush

Gets the effective text brush of the item. (Inherited from DiagramItem.)

Font

Gets or sets the font used to render the item's text. (Inherited from DiagramItem.)

HyperLink

Gets or sets the hyper link. (Inherited from DiagramItem.)

Id

Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.)

IgnoreLayout

Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.)

IncludeItemsIfIntersect

Gets or sets a value indicating which items are selected when drawing a selection rectangle.

Items

Gets a collection of all selected items.

LayerIndex

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

LayoutTraits

Contains properties specific to each layout algorithm. (Inherited from DiagramItem.)

Links

Gets the collection of all links in the selection.

Locked

Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.)

Nodes

Gets a collection of all selected nodes.

Parent

Gets the diagram that contains this item. (Inherited from DiagramItem.)

Pen

Gets or sets the pen used to paint the frame of the item. (Inherited from DiagramItem.)

RuntimeIndex

For internal use. (Inherited from DiagramItem.)

Selected

Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.)

SetsDirtyFlag

Gets or sets a value indicating whether the diagram's Dirty flag should be set when selection changes.

ShadowBrush

Gets or sets the brush used to paint the item's shadow. (Inherited from DiagramItem.)

ShadowOffsetX

Gets or sets the horizontal offset of the shadow of this item. (Inherited from DiagramItem.)

ShadowOffsetY

Gets or sets the vertical offset of the shadow of this item. (Inherited from DiagramItem.)

Style

Gets or sets a value indicating how to display multiple selection of items.

Tag

Gets or sets user-defined data associated with this item. (Inherited from DiagramItem.)

TextBrush

Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItem.)

TextPadding

Gets or sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.)

TopLevel

True if this is a top-level item in the diagram, or false if it is inside a container. (Inherited from DiagramItem.)

Visible

Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.)

Weight

Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.)

ZIndex

Gets or sets the z-order position of this item. (Inherited from DiagramItem.)

 Protected Properties

  Name Description

MeasureUnit

Returns the diagram measure unit. (Inherited from DiagramItem.)

 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.

Clone

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

ContainsPoint

Overloaded. DiagramItem.ContainsPoint override.

Draw

DiagramItem.Draw override.

DrawHandles

DiagramItem.DrawHandles override.

DrawShadow

DiagramItem.DrawShadow override.

GetBounds

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

GetOutlinePoly

Gets a polygon approximating the outline of this object. (Inherited from DiagramItem.)

GetRepaintRect

DiagramItem.GetRepaintRect override.

GetRotatedBounds

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

GetSize

Gets the number of selected items.

HitTest

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

HitTestHandle

DiagramItem.HitTestHandle override.

NotInteractive

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

OnLoad

Called after successful deserialization. (Inherited from DiagramItem.)

RemoveItem

Removes an item from the selection.

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

Toggle

Toggles the selection state of an item.

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

AddManipulator

Adds the specified manipulator to this object. (Inherited from DiagramItem.)

CreateProperties

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

CreateState

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

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.)

FreeResources

DiagramItem.FreeResources override.

GetValue

Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.)

HandleTap

Invoked when the user releases his finger over this item. (Inherited from DiagramItem.)

LoadFromJson

Loads the item content from a JsonObject. (Inherited from DiagramItem.)

LoadFromXml

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

OnAdd

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

OnChildModified

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

OnFontChanged

Invoked when the Font property has changed. (Inherited from DiagramItem.)

OnMeasureUnitChanged

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

OnRemove

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

OnStyleChanged

Invoked when the associated style or theme have changed. (Inherited from DiagramItem.)

OnZoomChanged

Called when the MindFusion.Diagramming for .NET MAUI's ZoomFactor changes. (Inherited from DiagramItem.)

RaiseClicked

Raises an event which notifies that an item has been clicked. (Inherited from DiagramItem.)

RemoveManipulator

Removes the specified manipulator from the object. (Inherited from DiagramItem.)

Repaint

Overloaded. Repaints the specified region of the diagram. (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 content into a JsonObject. (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.)

 See Also