ShapeField.DefaultBackgroundBrushId Property

Gets or sets the ID of the default brush to paint the background of the shape field.

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

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID of the default brush to paint the background of the shape field.

Remarks

The ShapeField's GetBackgroundBrushId method returns this value unless GetBackgroundBrushId is overridden.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace