System.Windows.Forms (system.windows.forms.dll) | enum |
Used by CheckBox and
CheckedListBox, this enumeration determines
whether an item is Checked,
Unchecked, or Indeterminate.
public enum CheckState {
Unchecked = 0,
Checked = 1,
Indeterminate = 2
}
Hierarchy
System.Object System.ValueType
System.Enum(System.IComparabl,
System.IFormattable,
System.IConvertible) CheckState
Returned By
CheckBox.CheckState,
CheckedListBox.GetItemCheckState(),
ItemCheckEventArgs.{CurrentValue,
NewValue}
Passed To
CheckBox.CheckState,
CheckedListBox.SetItemCheckState(),
ObjectCollection.Add(),
ItemCheckEventArgs.{ItemCheckEventArgs(),
NewValue}
|