Represents a set of items selected in the Diagram document.
The following tables list the members exposed by the Selection type.
Name | Description | |
---|---|---|
Initializes a new instance of the Selection class. |
Name | Description | |
---|---|---|
For internal use. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether more than one items can be selected simultaneously. |
||
Gets or sets the brush used to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets the effective brush of the item. (Inherited from DiagramItem.) |
||
Gets the currently effective font of the item. (Inherited from DiagramItem.) |
||
Gets the effective pen of the item. (Inherited from DiagramItem.) |
||
Gets the effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Gets the effective text brush of the item. (Inherited from DiagramItem.) |
||
Gets or sets the font used to render the item's text. (Inherited from DiagramItem.) |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets user-defined identifier associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether the position of this item should not be changed by automatic layout methods. (Inherited from DiagramItem.) |
||
Returns an array of all items in this selection. |
||
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.) |
||
Contains layout properties of the node, used by some layout algorithms and by DiagramView3D. (Inherited from DiagramItem.) |
||
Returns an array of all links in this selection. |
||
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
||
Returns an array of all nodes in this selection. |
||
Gets the diagram that contains this item. (Inherited from DiagramItem.) |
||
Gets or sets the pen used to paint the frame of the item. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether to print the item. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to paint the item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal offset of the shadow of this item. (Inherited from DiagramItem.) |
||
Gets or sets the vertical offset of the shadow of this item. (Inherited from DiagramItem.) |
||
Gets or sets the style associated with the item. (Inherited from DiagramItem.) |
||
Gets a reference to the group of items that are attached to this one. (Inherited from DiagramItem.) |
||
Gets or sets user-defined data associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets the text displayed by this item. (Inherited from DiagramItem.) |
||
Gets or sets the brush used to paint texts inside the item. (Inherited from DiagramItem.) |
||
Gets or sets the alignment of text displayed inside this item. (Inherited from DiagramItem.) |
||
Gets or sets the spacing between the item boundaries and its text. (Inherited from DiagramItem.) |
||
Gets or sets a short text message displayed when the mouse pointer rests over the diagram element. (Inherited from DiagramItem.) |
||
True if this is a top-level item in the diagram, or false if it is inside a container. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used in layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Returns the diagram measure unit. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Adds an item to the Selection. |
||
DiagramItem.allowDrag override. |
||
Removes all items from the selection. |
||
Creates a copy of this item. (Inherited from DiagramItem.) |
||
Overloaded. Determines whether this item contains the specified point. (Inherited from DiagramItem.) |
||
Overloaded. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Draws the item on the specified IGraphics surface. (Inherited from DiagramItem.) |
||
Renders the adjustment handles of this item. (Inherited from DiagramItem.) |
||
Draws the shadow of this item on the specified IGraphics surface. (Inherited from DiagramItem.) |
||
DiagramItem.endDrag override. |
||
Gets a rectangle that defines the position of the selection frame. |
||
Gets the bounding rectangle of this item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.) |
||
Creates a System.Drawing.Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.) |
||
Gets a polygon approximating the outline of this object. (Inherited from DiagramItem.) |
||
Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow. (Inherited from DiagramItem.) |
||
Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramItem.) |
||
Gets the tooltip that should be displayed for this item at the specified point. (Inherited from DiagramItem.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
Determines whether a selection handle of this item is located at the specified point. (Inherited from DiagramItem.) |
||
Finds the Manipulator object located at the specified point. (Inherited from DiagramItem.) |
||
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
||
Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.) |
||
Called after successful deserialization. (Inherited from DiagramItem.) |
||
DiagramItem.onRemove override. |
||
Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.) |
||
Removes an item from the Diagram. |
||
For internal use. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
DiagramItem.saveLocationState override. |
||
DiagramItem.startDrag override. |
||
DiagramItem.updateDrag override. |
||
Moves the item to the bottom of the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level down in the z-order. (Inherited from DiagramItem.) |
||
Moves the item one level up in the z-order. (Inherited from DiagramItem.) |
||
Moves the item to the top of the z-order. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Adds the specified manipulator to this object. (Inherited from DiagramItem.) |
||
Invoked during interactive creation of items to test whether the operation can be completed in the current context. (Inherited from DiagramItem.) |
||
Invoked during interactive modification of items to test whether the operation can be completed in the current context. (Inherited from DiagramItem.) |
||
Invoked when the interactive modification of this object has been canceled. (Inherited from DiagramItem.) |
||
Invoked when the item creation has been completed. (Inherited from DiagramItem.) |
||
Invoked when the item modification has been completed. (Inherited from DiagramItem.) |
||
Creates an item property set corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
||
Creates an item state corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
||
Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.) |
||
DiagramItem finalizer. (Inherited from DiagramItem.) |
||
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.) |
||
Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.) |
||
Deserializes the item from the specified reader. (Inherited from DiagramItem.) |
||
Loads the item from a JSON object. (Inherited from DiagramItem.) |
||
Loads the item content from an XML element. (Inherited from DiagramItem.) |
||
For internal use. (Inherited from DiagramItem.) |
||
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Called when a group child node has been modified. (Inherited from DiagramItem.) |
||
Invoked when the user clicks this item. (Inherited from DiagramItem.) |
||
Invoked when the user double-clicks this item. (Inherited from DiagramItem.) |
||
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
||
Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
||
Invoked when the associated style or theme have changed. (Inherited from DiagramItem.) |
||
Called when the value of the Text property changes. (Inherited from DiagramItem.) |
||
Called when the value of the TextFormat property changes. (Inherited from DiagramItem.) |
||
Called when the diagram's ZoomFactor changes. (Inherited from DiagramItem.) |
||
Removes the specified manipulator from the object. (Inherited from DiagramItem.) |
||
Overloaded. (Inherited from DiagramItem.) |
||
Restores the properties of this diagram item. (Inherited from DiagramItem.) |
||
Restores the state of this diagram item. (Inherited from DiagramItem.) |
||
Saves the properties of this diagram item. (Inherited from DiagramItem.) |
||
Saves the state of this diagram item. (Inherited from DiagramItem.) |
||
Serializes the item to the specified writer. (Inherited from DiagramItem.) |
||
Saves the item as a JSON object. (Inherited from DiagramItem.) |
||
Saves the item content into an XML element. (Inherited from DiagramItem.) |
||
Marks the diagram as changed. (Inherited from DiagramItem.) |
||
Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.) |
||
Called during deserialization, after all objects have been instantiated, in order to update the references between them. (Inherited from DiagramItem.) |
||
Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.) |
||
Invoked once when the user starts creating a new item interactively. (Inherited from DiagramItem.) |
||
Invoked when the user starts modifying this item interactively. (Inherited from DiagramItem.) |
||
Invoked during interactive creation of this item. (Inherited from DiagramItem.) |
||
Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.) |
||
Invoked during interactive modification of this item. (Inherited from DiagramItem.) |