Freigeben über


LinearGradientBrush.LinearColors-Eigenschaft

Ruft die Anfangs- und Endfarben des Farbverlaufs ab oder legt diese fest.

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in system.drawing.dll)

Syntax

'Declaration
Public Property LinearColors As Color()
'Usage
Dim instance As LinearGradientBrush
Dim value As Color()

value = instance.LinearColors

instance.LinearColors = value
public Color[] LinearColors { get; set; }
public:
property array<Color>^ LinearColors {
    array<Color>^ get ();
    void set (array<Color>^ value);
}
/** @property */
public Color[] get_LinearColors ()

/** @property */
public void set_LinearColors (Color[] value)
public function get LinearColors () : Color[]

public function set LinearColors (value : Color[])

Eigenschaftenwert

Ein Array mit zwei Color-Strukturen, das die Anfangs- und Endfarben des Farbverlaufs darstellt.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

LinearGradientBrush-Klasse
LinearGradientBrush-Member
System.Drawing.Drawing2D-Namespace