共用方式為


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

Syntax

'宣告
Public Property DefaultSelectedBackgroundBrushId As StyleSetResourceId
    Get
    Set
public StyleSetResourceId DefaultSelectedBackgroundBrushId { get; set; }
public:
property StyleSetResourceId^ DefaultSelectedBackgroundBrushId {
    StyleSetResourceId^ get ();
    void set (StyleSetResourceId^ value);
}
member DefaultSelectedBackgroundBrushId : StyleSetResourceId with get, set
function get DefaultSelectedBackgroundBrushId () : StyleSetResourceId
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace