Delen via


BrushDescriptor.Brush Property

Gets an instance of the Brush defined by this descriptor. If the brush has not been previously created, it creates it first. This is a singleton. Do not dispose - this will crash! Use immediately.

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 ReadOnly Property Brush As Brush
public Brush Brush { get; }
public:
property Brush^ Brush {
    Brush^ get ();
}
member Brush : Brush with get
function get Brush () : Brush

Property Value

Type: System.Drawing.Brush

Remarks

Gets an instance of the Brush that is defined by this descriptor. If the brush has not been previously created, it creates it first. This is a singleton. Do not dispose. This will crash. Use immediately.

.NET Framework Security

See Also

Reference

BrushDescriptor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace