NodeShape.BackgroundGradientMode Property

Gets the gradient for 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

'Declaração
Public Overridable ReadOnly Property BackgroundGradientMode As LinearGradientMode
    Get
public virtual LinearGradientMode BackgroundGradientMode { get; }
public:
virtual property LinearGradientMode BackgroundGradientMode {
    LinearGradientMode get ();
}
abstract BackgroundGradientMode : LinearGradientMode
override BackgroundGradientMode : LinearGradientMode
function get BackgroundGradientMode () : LinearGradientMode

Property Value

Type: System.Drawing.Drawing2D.LinearGradientMode
The gradient for the background of the shape.

Remarks

By default, the vertical gradient is returned.

Examples

public override global::System.Drawing.Drawing2D.LinearGradientMode BackgroundGradientMode
{
    get
    {
        return global::System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
    }
}

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace