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
- geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost
The shape or link.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.