共用方式為


NodeShape.CreateBackgroundGradientField Method

Creates the area field, which displays the gradient fill in the background of the shape.

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

Syntax

'宣告
Protected Overridable Function CreateBackgroundGradientField ( _
    fieldName As String _
) As AreaField
protected virtual AreaField CreateBackgroundGradientField(
    string fieldName
)
protected:
virtual AreaField^ CreateBackgroundGradientField(
    String^ fieldName
)
abstract CreateBackgroundGradientField : 
        fieldName:string -> AreaField 
override CreateBackgroundGradientField : 
        fieldName:string -> AreaField 
protected function CreateBackgroundGradientField(
    fieldName : String
) : AreaField

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.AreaField
The name of the area field.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace