Freigeben über


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

See Also

Reference

ImageShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace