Freigeben über


ItemCheckEventArgs-Konstruktor

Initialisiert eine neue Instanz der ItemCheckEventArgs-Klasse.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

'Declaration
Public Sub New ( _
    index As Integer, _
    newCheckValue As CheckState, _
    currentValue As CheckState _
)
'Usage
Dim index As Integer
Dim newCheckValue As CheckState
Dim currentValue As CheckState

Dim instance As New ItemCheckEventArgs(index, newCheckValue, currentValue)
public ItemCheckEventArgs (
    int index,
    CheckState newCheckValue,
    CheckState currentValue
)
public:
ItemCheckEventArgs (
    int index, 
    CheckState newCheckValue, 
    CheckState currentValue
)
public ItemCheckEventArgs (
    int index, 
    CheckState newCheckValue, 
    CheckState currentValue
)
public function ItemCheckEventArgs (
    index : int, 
    newCheckValue : CheckState, 
    currentValue : CheckState
)

Parameter

  • index
    Der nullbasierte Index des zu ändernden Elements.
  • newCheckValue
    Einer der CheckState-Werte, der angibt, ob das Kontrollkästchen für das Element in einen aktivierten, deaktivierten oder unbestimmten Zustand geändert werden soll.
  • currentValue
    Einer der CheckState-Werte, der angibt, ob das Kontrollkästchen für das Element derzeit einen aktivierten, deaktivierten oder unbestimmten Zustand aufweist.

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

ItemCheckEventArgs-Klasse
ItemCheckEventArgs-Member
System.Windows.Forms-Namespace
CheckState-Enumeration