共用方式為


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

'宣告
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

See Also

Reference

BrushDescriptor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace