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 | |
---|---|---|
![]() ![]() |
Identifies the AutoCaptureMouse dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the Brush dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the HyperLink dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the IsMouseDown dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the IsMouseOver dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeDashArray dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeDashCap dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeDashOffset dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeEndLineCap dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeLineJoin dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeMiterLimit dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the Stroke dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeStartLineCap dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the StrokeThickness dependency property. (Inherited from DiagramItem.) |
|
![]() ![]() |
Identifies the TextBrush dependency property. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
A list of the Rectangle objects that represent the item's adjustment handles. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Gets or sets a value indicating whether more than one items can be selected simultaneously. |
|
![]() |
Gets or sets whether the item should capture the mouse input when the left button is pressed over it. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the Brush that specifies how to paint the interior of the item. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets the parent diagram. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a value indicating how the node adjustment handles behave and what do they look like. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the hyperlink associated with this diagram item. This is a dependency property. (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.) |
|
![]() |
Gets a value indicating whether the mouse button is pressed over this item. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets a value indicating whether the mouse pointer is located over this item. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets the selected diagram items. |
|
![]() |
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 properties specific to each layout algorithm. (Inherited from DiagramItem.) |
|
![]() |
Gets a collection of all selected links. |
|
![]() |
Gets or sets a value indicating whether users are allowed to edit the diagram item. (Inherited from DiagramItem.) |
|
![]() |
Gets a collection of all selected nodes. |
|
![]() |
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 that specifies how the item outline is painted. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline nodes. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a double value that specifies the distance within the dash pattern where a dash begins. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the end of a Stroke. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a PenLineJoin enumeration value that specifies the type of join that is used at the vertices of the item's outline. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of an item outline element. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets a PenLineCap enumeration value that specifies what shape to draw at the start of a Stroke. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the width of the DiagramItem stroke outline. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the color of the item's text. This is a dependency property. (Inherited from DiagramItem.) |
|
![]() |
Gets or sets the contents of the tooltip displayed when the mouse pointer rests over the diagram element. (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 the object. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Gets the size of this item. (Inherited from DiagramItem.) |
Name | Description | |
---|---|---|
![]() |
Adds a new item to the current selection. |
|
![]() |
Selects an item and deselects all others. |
|
![]() |
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.) |
|
![]() |
Gets the bounding rectangle of this item. |
|
![]() |
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. |
|
![]() |
DiagramItem.HitTestHandle override. |
|
![]() |
Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.) |
|
![]() |
Removes an item from the selection. |
|
![]() |
Restores the state of this diagram item. (Inherited from DiagramItem.) |
|
![]() |
Saves the state of this diagram item. (Inherited from DiagramItem.) |
|
![]() |
Toggles the selection state of an item. |
|
![]() |
Transforms a point in diagram coordinates to item coordinates. This method should be used instead Visual.TransformToDescendant because it works correctly when the item is not yet Arrange()d. (Inherited from DiagramItem.) |
|
![]() |
Gets the diagram coordinates of a point specified in the local coordinate system of this item. (Inherited from DiagramItem.) |
|
![]() |
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 | |
---|---|---|
![]() |
DiagramItem.AddHandlesToCanvas override. |
|
![]() |
Invoked to validate the drag operation. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.CancelDrag override. |
|
![]() |
Creates an item state corresponding to the type of this diagram item. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.EndDrag override. |
|
![]() |
Loads the item content from an XML element. (Inherited from DiagramItem.) |
|
![]() |
Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.) |
|
![]() |
FrameworkElement.OnApplyTemplate override. (Inherited from DiagramItem.) |
|
![]() |
Called when a group child node has been modified. (Inherited from DiagramItem.) |
|
![]() |
Called after successful deserialization. (Inherited from DiagramItem.) |
|
![]() |
Called when the diagram's MeasureUnit changes. (Inherited from DiagramItem.) |
|
![]() |
Control.OnPointerCaptureLost override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnPointerEntered override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnPointerExited override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnPointerPressed override. (Inherited from DiagramItem.) |
|
![]() |
Control.OnPointerReleased override. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.OnRemove override. |
|
![]() |
Invoked when the item's selection handles should be removed. (Inherited from DiagramItem.) |
|
![]() |
Restores the state of this diagram item. (Inherited from DiagramItem.) |
|
![]() |
Saves the state of this diagram item. (Inherited from DiagramItem.) |
|
![]() |
Saves the item content into an XML element. (Inherited from DiagramItem.) |
|
![]() |
Scales the item's elements by specified amount. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.StartDrag override. |
|
![]() |
DiagramItem.UpdateDrag override. |
|
![]() |
Sets the handle colors according to the current selection state of the item and the enabled bits in the EnabledHandles property. (Inherited from DiagramItem.) |
|
![]() |
Invoked when the item's selection handles should change their position. (Inherited from DiagramItem.) |
|
![]() |
Sets the current VisualStates of this item. (Inherited from DiagramItem.) |
|
![]() |
DiagramItem.UpdateVisuals override. |