Skip to main content
A newer version of this page is available. .

CheckedListBoxItem(Object, CheckState, Boolean) Constructor

Initializes a new instance of the CheckedListBoxItem class with custom settings.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public CheckedListBoxItem(
    object value,
    CheckState checkState,
    bool enabled
)

Parameters

Name Type Description
value Object

An object which represents the item’s value. This value is assigned to the ListBoxItem.Value property.

checkState CheckState

A CheckState enumeration member specifying 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.

See Also