ImageShape.HasBackgroundGradient Property
Gets the image shape and verifies whether it has a background gradient.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overrides NotOverridable ReadOnly Property HasBackgroundGradient As Boolean
Get
public override sealed bool HasBackgroundGradient { get; }
public:
virtual property bool HasBackgroundGradient {
bool get () override sealed;
}
abstract HasBackgroundGradient : bool
override HasBackgroundGradient : bool
override final function get HasBackgroundGradient () : boolean
Property Value
Type: System.Boolean
true if the shape has a background gradient; otherwise, false.
Remarks
The return value is always false because background gradients cannot be used with image shapes.
This method cannot be overridden.
.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.