共用方式為


ShapeElement.BackgroundBrushId Property

Gets the ID for the brush that is used to paint the background of the shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable ReadOnly Property BackgroundBrushId As StyleSetResourceId
    Get
public virtual StyleSetResourceId BackgroundBrushId { get; }
public:
virtual property StyleSetResourceId^ BackgroundBrushId {
    StyleSetResourceId^ get ();
}
abstract BackgroundBrushId : StyleSetResourceId
override BackgroundBrushId : StyleSetResourceId
function get BackgroundBrushId () : StyleSetResourceId

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID for the brush that is used to paint the background of the shape.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace