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 | |
---|---|---|
Gets or sets a value indicating whether more than one items can be selected simultaneously. |
||
Gets or sets an object specifying how to fill the interior of this item. (Inherited from DiagramItem.) |
||
Gets the parent ContainerNode containing this node. (Inherited from DiagramItem.) |
||
Gets the effective brush that should be used to paint this item. (Inherited from DiagramItem.) |
||
Gets the effective brush that should be used to paint node's caption bar. (Inherited from DiagramItem.) |
||
Gets the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the name of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the size of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the style of the effective font that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the effective opacity that should be used to paint this item. (Inherited from DiagramItem.) |
||
Gets the effective color that should be used to render this item's shadow. (Inherited from DiagramItem.) |
||
Gets the effective color that should be used to stroke this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash array that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash offset that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line dash pattern that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective line thickness that should be applied when stroking this item. (Inherited from DiagramItem.) |
||
Gets the effective text color that should be used to render this item's text. (Inherited from DiagramItem.) |
||
Gets the effective text color that should be used to render this item's text outline. (Inherited from DiagramItem.) |
||
Gets the effective width of the text outline of this item. (Inherited from DiagramItem.) |
||
Gets or sets the font used to render item's text. (Inherited from DiagramItem.) |
||
Gets an array of visual elements used to render this item on the canvas. (Inherited from DiagramItem.) |
||
Gets or sets the hyperlink associated with this diagram item. (Inherited from DiagramItem.) |
||
Gets or sets a custom 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 an object containing properties specific to individual layout algorithms. (Inherited from DiagramItem.) |
||
Gets or sets the vertical alignment of item's text. (Inherited from DiagramItem.) |
||
Returns an array of all links in this selection. |
||
Gets or sets whether users are allowed to interact with this item. (Inherited from DiagramItem.) |
||
Returns an array of all nodes in this selection. |
||
Gets or sets opacity of this item. (Inherited from DiagramItem.) |
||
Gets the Diagram to which this item belongs. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's borders. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether a diagram item is selected. (Inherited from DiagramItem.) |
||
Gets or sets the color used to draw item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal offset of item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the vertical offset of item's shadow. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's frame. (Inherited from DiagramItem.) |
||
Gets or sets an array of values specifying the dash pattern. (Inherited from DiagramItem.) |
||
Gets or sets the the distance between the line start and the beginning of the dash pattern. (Inherited from DiagramItem.) |
||
Gets or sets the line dash pattern applied when stroking item's frame. (Inherited from DiagramItem.) |
||
Gets or sets the line width applied when stroking item's frame. (Inherited from DiagramItem.) |
||
Gets or sets the style associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets custom data tag associated with this item. (Inherited from DiagramItem.) |
||
Gets or sets the text label displayed by this item. (Inherited from DiagramItem.) |
||
Gets or sets the horizontal alignment of item's text. (Inherited from DiagramItem.) |
||
Gets or sets the color used to fill item's text. (Inherited from DiagramItem.) |
||
Gets the Text object instance used to render item's text. (Inherited from DiagramItem.) |
||
Gets or sets the padding distance between item's boundaries and text label. (Inherited from DiagramItem.) |
||
Gets or sets the color used to stroke item's text. (Inherited from DiagramItem.) |
||
Gets or sets the outline width of item's text. (Inherited from DiagramItem.) |
||
Gets or sets tooltip text that should be displayed when the mouse hovers over this item. (Inherited from DiagramItem.) |
||
Gets if this is a top-level item in the diagram. (Inherited from DiagramItem.) |
||
Gets or sets a value indicating whether this item is visible. (Inherited from DiagramItem.) |
||
Gets or sets a weight value used by layout and path-finding algorithms. (Inherited from DiagramItem.) |
||
Gets the z-order position of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
Derived classes must implement this method by adding their graphics primitives to the canvas.elements collection. (Inherited from DiagramItem.) |
||
Adds an item to the Selection. |
||
Adds a new label to this item. (Inherited from DiagramItem.) |
||
DiagramItem.allowDrag override. |
||
Animates the item. (Inherited from DiagramItem.) |
||
Removes all items from the selection. |
||
Creates a copy of this item. (Inherited from DiagramItem.) |
||
Determines whether this item contains the specified point. (Inherited from DiagramItem.) |
||
DiagramItem.endDrag override. |
||
Deserializes this item from a JSON object. (Inherited from DiagramItem.) |
||
Gets a rectangle that defines the position of the selection frame. |
||
Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow. (Inherited from DiagramItem.) |
||
Returns the diagram item that contains the specified point. (Inherited from DiagramItem.) |
||
Invalidates the region of the canvas, that matches the item's repaint bounds. (Inherited from DiagramItem.) |
||
Loads the item content from an XML element. (Inherited from DiagramItem.) |
||
DiagramItem.onRemove override. |
||
Derived classes must implement this method by removing their graphics primitives from the canvas.elements collection. (Inherited from DiagramItem.) |
||
Removes an item from the Diagram. |
||
Removes the specified label from this item. (Inherited from DiagramItem.) |
||
Loads the properties of this diagram item. (Inherited from DiagramItem.) |
||
DiagramItem.saveLocationState override. |
||
Saves the properties of this diagram item. (Inherited from DiagramItem.) |
||
Saves the item content into an XML element. (Inherited from DiagramItem.) |
||
DiagramItem.startDrag override. |
||
Invoked when the user starts dragging this item. (Inherited from DiagramItem.) |
||
Serializes this item into a JSON object. (Inherited from DiagramItem.) |
||
Derived classes must implement this method to update the item's visual elements. (Inherited from DiagramItem.) |
||
DiagramItem.updateDrag override. |