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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.