Partager via


PenSettings.Brush Property

Gets or sets the Brush information for the PenStyleSetInfo. Only allows the change if the property is not immutable and sets the override flags appropriately.

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

Property Value

Type: System.Drawing.Brush

.NET Framework Security

See Also

Reference

PenSettings Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace