Name

CheckState

Synopsis

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}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.