Share via


ShapeGeometry.GetBackgroundBrushId Method

Gets the ID that is assigned to the brush that paints the background of the shape geometry.

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

Syntax

'Declaration
Public Overridable Function GetBackgroundBrushId ( _
    geometryHost As IGeometryHost _
) As StyleSetResourceId
public virtual StyleSetResourceId GetBackgroundBrushId(
    IGeometryHost geometryHost
)
public:
virtual StyleSetResourceId^ GetBackgroundBrushId(
    IGeometryHost^ geometryHost
)
abstract GetBackgroundBrushId : 
        geometryHost:IGeometryHost -> StyleSetResourceId  
override GetBackgroundBrushId : 
        geometryHost:IGeometryHost -> StyleSetResourceId
public function GetBackgroundBrushId(
    geometryHost : IGeometryHost
) : StyleSetResourceId

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.StyleSetResourceId
The ID that is assigned to the brush that paints the background of the shape geometry.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace