windowsforms-devexpress-dot-xtraeditors-dot-basecheckedlistboxcontrol-10be4fbd.md
Occurs when the field value is fetched from the data source and then posted back.
Namespace : DevExpress.XtraEditors
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Behavior")]
public event ConvertCheckValueEventHandler ConvertCheckValue
<DXCategory("Behavior")>
Public Event ConvertCheckValue As ConvertCheckValueEventHandler
The ConvertCheckValue event's data class is DevExpress.XtraEditors.ConvertCheckValueEventArgs.
You can bind the BaseCheckedListBoxControl to a data source, using the BaseListBoxControl.DataSource property. In this case, you can use the BaseCheckedListBoxControl.CheckMember property to specify a data source field name whose values specify check box states. Typically, the field specified by the BaseCheckedListBoxControl.CheckMember property should be of the Boolean or Nullable<Boolean> type. If the field is of another type, you can convert it to the Boolean or Nullable<Boolean> type with the ConvertCheckValue event.
The ConvertCheckValue event fires in two cases:
Use ConvertCheckValueEventArgs.Value property to get or set the current value. A value assigned to this property should be of the Nullable<Boolean> or Boolean type.
See Also
BaseCheckedListBoxControl Class