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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overrides NotOverridable ReadOnly Property HasBackgroundGradient As Boolean
'Usage
Dim instance As ImageShape
Dim value As Boolean
value = instance.HasBackgroundGradient
public override sealed bool HasBackgroundGradient { get; }
public:
virtual property bool HasBackgroundGradient {
bool get () override sealed;
}
public 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.