DiagramPens Class
Each property of the DiagramPens class is a StyleSetResourceId object that uniquely identifies a pen resource used by the DiagramClientView paint methods.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.DiagramPens
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public NotInheritable Class DiagramPens
public sealed class DiagramPens
public ref class DiagramPens sealed
[<Sealed>]
type DiagramPens = class end
public final class DiagramPens
The DiagramPens type exposes the following members.
Properties
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.