CheckedListBoxItem(Object, String, CheckState, Boolean, Object) Constructor
Initializes a new instance of the CheckedListBoxItem class with the specified settings.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
public CheckedListBoxItem(
object value,
string description,
CheckState checkState,
bool enabled,
object tag
)
Parameters
Name | Type | Description |
---|---|---|
value | Object | An object representing the item’s value. This value is assigned to the ListBoxItem.Value property. |
description | String | A string representing the item’s display text. This value is assigned to the CheckedListBoxItem.Description property. |
checkState | CheckState | A CheckState enumeration member representing the item’s state. This value is assigned to the CheckedListBoxItem.CheckState property. |
enabled | Boolean | true if the item is enabled; otherwise, false. This value is assigned to the CheckedListBoxItem.Enabled property. |
tag | Object | Custom data associated with the item. This value is assigned to the ListBoxItem.Tag property. |
See Also