This topic has not yet been rated - Rate this topic

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)
public virtual LinearGradientMode BackgroundGradientMode { get; }

Property Value

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

By default, the vertical gradient is returned.

public override global::System.Drawing.Drawing2D.LinearGradientMode BackgroundGradientMode
{
    get
    {
        return global::System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
    }
}
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ