ShapeField.DefaultSelectedBackgroundBrushId Property

Gets or sets the ID of the default background brush for 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 DefaultSelectedBackgroundBrushId As StyleSetResourceId
'Usage
Dim instance As ShapeField 
Dim value As StyleSetResourceId 

value = instance.DefaultSelectedBackgroundBrushId

instance.DefaultSelectedBackgroundBrushId = value
public StyleSetResourceId DefaultSelectedBackgroundBrushId { get; set; }
public:
property StyleSetResourceId^ DefaultSelectedBackgroundBrushId {
    StyleSetResourceId^ get ();
    void set (StyleSetResourceId^ value);
}
public function get DefaultSelectedBackgroundBrushId () : StyleSetResourceId 
public function set DefaultSelectedBackgroundBrushId (value : StyleSetResourceId)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID of the default background brush for 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