Delen via


CompartmentShape.BackgroundGradientMode Property

Gets the gradient for the background of the compartment shape. Set in the DSL Definition.

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

Syntax

'Declaration
Public Overrides ReadOnly Property BackgroundGradientMode As LinearGradientMode
public override LinearGradientMode BackgroundGradientMode { get; }
public:
virtual property LinearGradientMode BackgroundGradientMode {
    LinearGradientMode get () override;
}
abstract BackgroundGradientMode : LinearGradientMode with get 
override BackgroundGradientMode : LinearGradientMode with get
override function get BackgroundGradientMode () : LinearGradientMode

Property Value

Type: System.Drawing.Drawing2D.LinearGradientMode

.NET Framework Security

See Also

Reference

CompartmentShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace