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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides NotOverridable ReadOnly Property HasBackgroundGradient As Boolean
public override sealed bool HasBackgroundGradient { get; }
public:
virtual property bool HasBackgroundGradient {
    bool get () override sealed;
}
abstract HasBackgroundGradient : bool with get 
override HasBackgroundGradient : bool with get
override final function get HasBackgroundGradient () : boolean

Property Value

Type: 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

See Also

Reference

ImageShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace