Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Property DefaultBackgroundBrushId As StyleSetResourceId
'Usage
Dim instance As ShapeField 
Dim value As StyleSetResourceId 

value = instance.DefaultBackgroundBrushId

instance.DefaultBackgroundBrushId = value
public StyleSetResourceId DefaultBackgroundBrushId { get; set; }
public:
property StyleSetResourceId^ DefaultBackgroundBrushId {
    StyleSetResourceId^ get ();
    void set (StyleSetResourceId^ value);
}
public function get DefaultBackgroundBrushId () : StyleSetResourceId 
public 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

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace