ListBox.BorderStyle-Eigenschaft
Ruft den Typ des Rahmens ab, der um ListBox gezeichnet wird, oder legt diesen fest.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Syntax
'Declaration
Public Property BorderStyle As BorderStyle
'Usage
Dim instance As ListBox
Dim value As BorderStyle
value = instance.BorderStyle
instance.BorderStyle = value
public BorderStyle BorderStyle { get; set; }
public:
property BorderStyle BorderStyle {
BorderStyle get ();
void set (BorderStyle value);
}
/** @property */
public BorderStyle get_BorderStyle ()
/** @property */
public void set_BorderStyle (BorderStyle value)
public function get BorderStyle () : BorderStyle
public function set BorderStyle (value : BorderStyle)
Eigenschaftenwert
Einer der BorderStyle-Werte. Der Standardwert ist Fixed3D.
Ausnahmen
Ausnahmetyp | Bedingung |
---|---|
Der Wert ist kein BorderStyle-Wert. |
Plattformen
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, 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
ListBox-Klasse
ListBox-Member
System.Windows.Forms-Namespace
BorderStyle-Enumeration