Skip to main content

CheckedListBoxItem Members

Represents an item within the CheckedListBoxControl and CheckedComboBoxEdit controls.

Constructors

Name Description
CheckedListBoxItem() Creates a new CheckedListBoxItem object with default settings.
CheckedListBoxItem(Object, Boolean) Creates a new CheckedListBoxItem object and instantiates the ListBoxItem.Value and CheckedListBoxItem.CheckState properties.
CheckedListBoxItem(Object, String, Object) Initializes a new instance of the CheckedListBoxItem class with the specified settings.
CheckedListBoxItem(Object, String, CheckState, Boolean, Object) Initializes a new instance of the CheckedListBoxItem class with the specified settings.
CheckedListBoxItem(Object, String, CheckState, Boolean) Initializes a new instance of the CheckedListBoxItem class with the specified settings.
CheckedListBoxItem(Object, String, CheckState, Object) Initializes a new instance of the CheckedListBoxItem class with the specified settings.
CheckedListBoxItem(Object, String, CheckState) Initializes a new instance of the CheckedListBoxItem class with the specified value, description and check state.
CheckedListBoxItem(Object, String) Initializes a new instance of the CheckedListBoxItem class with the specified value and description.
CheckedListBoxItem(Object, CheckState, Boolean) Initializes a new instance of the CheckedListBoxItem class with custom settings.
CheckedListBoxItem(Object, CheckState) Creates a new CheckedListBoxItem object and instantiates the ListBoxItem.Value and CheckedListBoxItem.CheckState properties.
CheckedListBoxItem(Object) Creates a new CheckedListBoxItem object and instantiates the ListBoxItem.Value property.

Properties

Name Description
CheckState Gets or sets the item’s state.
Description Gets or sets the item’s display text.
Enabled Gets or set whether an end-user can change the item’s state.
Tag Gets or sets custom data associated with the current ListBoxItem object. Inherited from ListBoxItem.
Value Gets or sets the item’s value. Inherited from ListBoxItem.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetCheckState(Nullable<Boolean>) static Converts a value of the Nullable Boolean type to the System.Windows.Forms.CheckState type.
GetCheckValue(CheckState) static Converts a check state to a Nullable<Boolean> value. This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InvertCheckState() Inverts the item’s check state.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the text representation of the current item.
See Also