共用方式為


NodeShape.HasBackgroundGradient Property

Gets the shape and verifies whether it has a gradient for its background.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable ReadOnly Property HasBackgroundGradient As Boolean
    Get
public virtual bool HasBackgroundGradient { get; }
public:
virtual property bool HasBackgroundGradient {
    bool get ();
}
abstract HasBackgroundGradient : bool
override HasBackgroundGradient : bool
function get HasBackgroundGradient () : boolean

Property Value

Type: System.Boolean
true if the shape has a gradient for its background; otherwise, false.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace