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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
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 | |
---|---|---|
CommentBackground | Gets the resource Id for the comment's background brush. Used to paint the background for the comment shape. | |
CommentText | Gets the resource Id for a comment's text brush. Used to paint text on a comment. | |
CommentTitleBackground | Gets the resource Id for the comment's title background brush. Used to paint the background for the comment's title field. | |
CommentTitleText | Gets the resource Id for a comment's title text brush. Used to paint title text on a comment. | |
ConnectionLineDecorator | Gets the resource Id for a connection line's decorator brush. Used to fill in connection line decorators. | |
ConnectionLineText | Gets the resource Id for a connection line's text brush. Used to paint label text on a connection line. | |
DiagramBackground | Gets the resource Id for the diagram's background brush. Used to paint the diagram's background. | |
DiagramSubtitleBackground | Gets the resource Id for the diagram's subtitle background brush. | |
DiagramSubtitleText | Gets the resource Id for the diagram's subtitle text brush. | |
DiagramText | Gets the resource Id for the diagram's text brush. | |
DiagramTitleBackground | Gets the resource Id for the diagram's title background brush. | |
DiagramTitleText | Gets the resource Id for the diagram's title text brush. | |
NonResizablePrimarySelection | Gets the resource Id for the primary selection brush of a non-resizable shape. | |
NonResizableSecondarySelection | Gets the resource Id for the secondary selection brush of a non-resizable shape. | |
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. | |
SecondaryGrabHandles | Gets the resource Id for the selection's secondary grab handles brush. | |
Selection | Gets the resource Id for the selection brush. Used to paint a shape selection border. | |
Shadow | Gets the resource Id for a shape's shadow brush. Used to paint the shadow of a shape. | |
ShapeBackground | Gets the resource Id for a shape's background brush. Used to paint the background for a shape. | |
ShapeBackgroundSelected | Gets the resource Id for the selected shape's background brush. Used to paint the background for selected shapes. | |
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. | |
ShapeSubtitleBackground | Gets the resource Id for a shape's subtitle background brush. Used to paint the background for the shape's subtitle field. | |
ShapeSubtitleText | Gets the resource Id for a shape's subtitle text brush. Used to paint the subtitle text on a shape. | |
ShapeText | Gets the resource Id for a shape's text brush. Used to paint text on a shape. | |
ShapeTextDisabled | Gets the resource Id for the shape's disabled text. | |
ShapeTextSelected | Gets the resource Id for the selected shape's text brush. Used to paint text for selected shapes. | |
ShapeTextSelectedDisabled | Gets the resource Id for the selected shape's disabled text. | |
ShapeTextSelectedInactive | Gets the resource Id for the selected shape's inactive text brush. Used to paint text for selected shapes that are inactive. | |
ShapeTextSelectedInactiveDisabled | Gets the resource Id for the inactive selected shape's disabled text. | |
ShapeTitleBackground | Gets the resource Id for a shape's title background brush. Used to paint the background for the shape's title field. | |
ShapeTitleBackgroundSelected | Gets the resource Id for a shape's title background brush. Used to paint the background for the shape's title field. | |
ShapeTitleBackgroundSelectedInactive | Gets the resource Id for a shape's title background brush. Used to paint the background for the shape's title field. | |
ShapeTitleText | Gets the resource Id for a shape's title text brush. Used to paint the title text on a shape. | |
ShapeTitleTextSelected | Gets the resource Id for a shape's title text brush. Used to paint the title text on a shape. | |
ShapeTitleTextSelectedInactive | Gets the resource Id for a shape's title text brush. Used to paint the title text on a shape. | |
SwimlaneHeaderBackground | Identifies the brush for filling in the swimlane header's background. | |
Transparent | Gets the resource Id for the transparent brush Used to make a shape or shapefield background transparent |
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.