Form.Icon-Eigenschaft
Ruft das Symbol für das Formular ab oder legt dieses fest.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Syntax
'Declaration
<LocalizableAttribute(True)> _
Public Property Icon As Icon
'Usage
Dim instance As Form
Dim value As Icon
value = instance.Icon
instance.Icon = value
[LocalizableAttribute(true)]
public Icon Icon { get; set; }
[LocalizableAttribute(true)]
public:
property Icon^ Icon {
Icon^ get ();
void set (Icon^ value);
}
/** @property */
public Icon get_Icon ()
/** @property */
public void set_Icon (Icon value)
public function get Icon () : Icon
public function set Icon (value : Icon)
Eigenschaftenwert
Ein Icon, das das Symbol für das Formular darstellt.
Hinweise
Das Symbol eines Formulars bezeichnet das Bild, das das Formular auf der Taskleiste darstellt, sowie das Symbol, das für das Systemmenüfeld des Formulars angezeigt wird.
Plattformen
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.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
.NET Compact Framework
Unterstützt in: 2.0, 1.0
Siehe auch
Referenz
Form-Klasse
Form-Member
System.Windows.Forms-Namespace
Form.ControlBox-Eigenschaft