Skip to main content

CheckedListBoxItem(Object, String, CheckState, Boolean) Constructor

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

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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 to enable the item; otherwise, false. This value is assigned to the CheckedListBoxItem.Enabled property.

See Also