Back to Devexpress

CheckedListBoxItem Members

windowsforms-devexpress-dot-xtraeditors-dot-controls-dot-checkedlistboxitem-dot-underscore-members.md

latest8.2 KB
Original Source

CheckedListBoxItem Members

Represents an item within the CheckedListBoxControl and CheckedComboBoxEdit controls.

Constructors

NameDescription
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.

Fields

NameDescription
StateFocusedSelected staticInherited from ListBoxItem.

Properties

NameDescription
CheckStateGets or sets the item’s state.
DescriptionGets or sets the item’s display text.
EnabledGets or set whether an end-user can change the item’s state.
TagGets or sets custom data associated with the current ListBoxItem object. Inherited from ListBoxItem.
ValueGets or sets the item’s value. Inherited from ListBoxItem.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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>) staticConverts a value of the Nullable Boolean type to the System.Windows.Forms.CheckState type.
GetCheckValue(CheckState) staticConverts 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the text representation of the current item.

See Also

CheckedListBoxItem Class

DevExpress.XtraEditors.Controls Namespace