共用方式為


ShapeGeometry.HasFilledBackground Method

True if this type of geometry has a filled background.

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

Syntax

'宣告
Protected Overridable Function HasFilledBackground ( _
    geometryHost As IGeometryHost _
) As Boolean
protected virtual bool HasFilledBackground(
    IGeometryHost geometryHost
)
protected:
virtual bool HasFilledBackground(
    IGeometryHost^ geometryHost
)
abstract HasFilledBackground : 
        geometryHost:IGeometryHost -> bool 
override HasFilledBackground : 
        geometryHost:IGeometryHost -> bool 
protected function HasFilledBackground(
    geometryHost : IGeometryHost
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape geometry has a background fill; otherwise, false.

Remarks

The background of the geometry will be filled with the background brush specified by BackgroundBrushId.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace