Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the gradient for the background of the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property BackgroundGradientMode As LinearGradientMode
public virtual LinearGradientMode BackgroundGradientMode { get; }
public:
virtual property LinearGradientMode BackgroundGradientMode {
LinearGradientMode get ();
}
abstract BackgroundGradientMode : LinearGradientMode with get
override BackgroundGradientMode : LinearGradientMode with get
function get BackgroundGradientMode () : LinearGradientMode
Property Value
Type: 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
- 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.