Share 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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property BackgroundGradientMode As LinearGradientMode
'Usage
Dim instance As CompartmentShape 
Dim value As LinearGradientMode 

value = instance.BackgroundGradientMode
public override LinearGradientMode BackgroundGradientMode { get; }
public:
virtual property LinearGradientMode BackgroundGradientMode {
    LinearGradientMode get () override;
}
public override function get BackgroundGradientMode () : LinearGradientMode

Property Value

Type: System.Drawing.Drawing2D.LinearGradientMode

.NET Framework Security

See Also

Reference

CompartmentShape Class

CompartmentShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace