DiagramPens Class
Each property of the DiagramPens class is a StyleSetResourceId object that uniquely identifies a pen resource used by the DiagramClientView paint methods.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ConnectionLine | Gets the resource Id for the connection line's pen. Used to draw the connection lines in a diagram. |
![]() ![]() | ConnectionLineDecorator | Gets the resource Id for the connection line decorator's pen. Used to draw the outline of decorators. |
![]() ![]() | ConnectionLineGhost | Gets the resource Id for the connection line's ghost pen. Used to draw possible connection lines during a connect action. |
![]() ![]() | ConnectionLineHighlight | Gets the resource Id for the connection line's highlight pen. Used to draw the connection lines selection border. |
![]() ![]() | ConnectionManualRouteOutline | Gets the resource Id for the connection line's manual route outline. Used to draw feedback from the ManualRouteAction. |
![]() ![]() | DiagramOutline | Gets the resource Id for the diagram's outline pen. Used to draw the border around the diagram. |
![]() ![]() | EmphasisOutline | Gets the resource Id for the emphasis outline pen. |
![]() ![]() | FocusIndicator | Gets the resource Id for the focus indicator pen. |
![]() ![]() | FocusIndicatorBackground | Gets the resource Id for the focus indicator's background pen. |
![]() ![]() | GhostShapeOutline | Gets the resource Id for the shape's ghost outline pen. Used to draw the outline of a shape for feedback as it is being dragged/dropped. |
![]() ![]() | GridLines | Gets the resource Id for the diagram's grid lines pen. Used to draw the grid points on the diagram. |
![]() ![]() | Lasso | Gets the resource Id for the lasso pen. Used to draw the group selection rectangle (or lasso). |
![]() ![]() | PrimaryGrabHandles | Gets the resource Id for the primary grab handles pen. Used to draw the outline of the grab handles at the corner of shapes. |
![]() ![]() | SecondaryGrabHandles | Gets the resource Id for the secondary grab handles pen. Used to draw the outline of the grab handles at the corner of shapes. |
![]() ![]() | SelectionBackground | Gets the resource Id for the selection background's pen. |
![]() ![]() | SelectionNonPrimaryOutline | Gets the resource Id for the selection's secondary outline pen. |
![]() ![]() | SelectionPrimaryOutline | Gets the resource Id for the selection's primary outline pen. |
![]() ![]() | ShapeHighlightOutline | Gets the resource Id for the shape's highlight outline pen. Used to draw the selection border around a shape. |
![]() ![]() | ShapeOutline | Gets the resource Id for the shape's outline pen. Used to draw the border around a shape. |
![]() ![]() | ShapeResizeOutline | Gets the resource Id for the shape's resize outline pen. Used to draw the outline of a shape for feedback as its being resized. |
![]() ![]() | ShapeSubtitleOutline | Gets the resource Id for the shape subtitle's outline pen. Used to draw the border around a shape's subtitle field. |
![]() ![]() | ShapeTitleOutline | Gets the resource Id for the shape title's outline pen. Used to draw the border around a shape's title field. |
![]() ![]() | SwimlaneSeparator | Gets the resource Id for the swimlane separator pen. |
![]() ![]() | ZoomLasso | Gets the resource Id for the lasso pen. Used to draw the group rectangle or lasso when doing a zoom mouse action. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


