Control.BackgroundImageLayout-Eigenschaft
Assembly: System.Windows.Forms (in system.windows.forms.dll)
[LocalizableAttribute(true)] public virtual ImageLayout BackgroundImageLayout { get; set; }
/** @property */ public ImageLayout get_BackgroundImageLayout () /** @property */ public void set_BackgroundImageLayout (ImageLayout value)
public function get BackgroundImageLayout () : ImageLayout public function set BackgroundImageLayout (value : ImageLayout)
Eigenschaftenwert
Einer der Werte von ImageLayout (Center, None, Stretch, Tile oder Zoom). Tile ist der Standardwert.Geben Sie mithilfe der BackgroundImageLayout-Eigenschaft die Position und das Verhalten eines Bilds an, das Sie in einem Steuerelement abgelegt haben. BackgroundImageLayout wird erst wirksam, wenn Sie einen Wert für die BackgroundImage-Eigenschaft festgelegt haben.
Sie können die Leistung für große Bilder erhöhen, wenn Sie BackgroundImageLayout auf einen anderen Wert als Tile festlegen.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, 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.