Partager via


DiagramBrushes Class

Each property of the DiagramBrushes class is a StyleSetResourceId object that uniquely identifies a brush resource used by the DiagramClientView paint methods.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.DiagramBrushes

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class DiagramBrushes
public sealed class DiagramBrushes
public ref class DiagramBrushes sealed
[<Sealed>]
type DiagramBrushes =  class end
public final class DiagramBrushes

The DiagramBrushes type exposes the following members.

Properties

  Name Description
Public propertyStatic member CommentBackground Gets the resource Id for the comment's background brush. Used to paint the background for the comment shape.
Public propertyStatic member CommentText Gets the resource Id for a comment's text brush. Used to paint text on a comment.
Public propertyStatic member CommentTitleBackground Gets the resource Id for the comment's title background brush. Used to paint the background for the comment's title field.
Public propertyStatic member CommentTitleText Gets the resource Id for a comment's title text brush. Used to paint title text on a comment.
Public propertyStatic member ConnectionLineDecorator Gets the resource Id for a connection line's decorator brush. Used to fill in connection line decorators.
Public propertyStatic member ConnectionLineText Gets the resource Id for a connection line's text brush. Used to paint label text on a connection line.
Public propertyStatic member DiagramBackground Gets the resource Id for the diagram's background brush. Used to paint the diagram's background.
Public propertyStatic member DiagramSubtitleBackground Gets the resource Id for the diagram's subtitle background brush.
Public propertyStatic member DiagramSubtitleText Gets the resource Id for the diagram's subtitle text brush.
Public propertyStatic member DiagramText Gets the resource Id for the diagram's text brush.
Public propertyStatic member DiagramTitleBackground Gets the resource Id for the diagram's title background brush.
Public propertyStatic member DiagramTitleText Gets the resource Id for the diagram's title text brush.
Public propertyStatic member NonResizablePrimarySelection Gets the resource Id for the primary selection brush of a non-resizable shape.
Public propertyStatic member NonResizableSecondarySelection Gets the resource Id for the secondary selection brush of a non-resizable shape.
Public propertyStatic member PrimaryGrabHandles Gets the resource Id for the selection's primary grab handles brush. Used to paint the background for the round grab handles on sizeable shapes.
Public propertyStatic member SecondaryGrabHandles Gets the resource Id for the selection's secondary grab handles brush.
Public propertyStatic member Selection Gets the resource Id for the selection brush. Used to paint a shape selection border.
Public propertyStatic member Shadow Gets the resource Id for a shape's shadow brush. Used to paint the shadow of a shape.
Public propertyStatic member ShapeBackground Gets the resource Id for a shape's background brush. Used to paint the background for a shape.
Public propertyStatic member ShapeBackgroundSelected Gets the resource Id for the selected shape's background brush. Used to paint the background for selected shapes.
Public propertyStatic member ShapeBackgroundSelectedInactive Gets the resource Id for the selected shape's inactive background brush. Used to paint the background for selected shapes when they're inactive.
Public propertyStatic member ShapeSubtitleBackground Gets the resource Id for a shape's subtitle background brush. Used to paint the background for the shape's subtitle field.
Public propertyStatic member ShapeSubtitleText Gets the resource Id for a shape's subtitle text brush. Used to paint the subtitle text on a shape.
Public propertyStatic member ShapeText Gets the resource Id for a shape's text brush. Used to paint text on a shape.
Public propertyStatic member ShapeTextDisabled Gets the resource Id for the shape's disabled text.
Public propertyStatic member ShapeTextSelected Gets the resource Id for the selected shape's text brush. Used to paint text for selected shapes.
Public propertyStatic member ShapeTextSelectedDisabled Gets the resource Id for the selected shape's disabled text.
Public propertyStatic member ShapeTextSelectedInactive Gets the resource Id for the selected shape's inactive text brush. Used to paint text for selected shapes that are inactive.
Public propertyStatic member ShapeTextSelectedInactiveDisabled Gets the resource Id for the inactive selected shape's disabled text.
Public propertyStatic member ShapeTitleBackground Gets the resource Id for a shape's title background brush. Used to paint the background for the shape's title field.
Public propertyStatic member ShapeTitleBackgroundSelected Gets the resource Id for a shape's title background brush. Used to paint the background for the shape's title field.
Public propertyStatic member ShapeTitleBackgroundSelectedInactive Gets the resource Id for a shape's title background brush. Used to paint the background for the shape's title field.
Public propertyStatic member ShapeTitleText Gets the resource Id for a shape's title text brush. Used to paint the title text on a shape.
Public propertyStatic member ShapeTitleTextSelected Gets the resource Id for a shape's title text brush. Used to paint the title text on a shape.
Public propertyStatic member ShapeTitleTextSelectedInactive Gets the resource Id for a shape's title text brush. Used to paint the title text on a shape.
Public propertyStatic member SwimlaneHeaderBackground Identifies the brush for filling in the swimlane header's background.
Public propertyStatic member Transparent Gets the resource Id for the transparent brush Used to make a shape or shapefield background transparent

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace