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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public ReadOnly Property Brush As Brush
Get
public Brush Brush { get; }
public:
property Brush^ Brush {
Brush^ get ();
}
member Brush : Brush
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.