Hello, I need to use RadListView to display records in ListDetails in WINFORMS. I have an active field that returns true or false. I want to display it with a checkbox to make the display more presentable. Is this possible? I look forward to your responses. Thank you.
1 Answer, 1 is accepted
0
Nadya | Tech Support Engineer
Telerik team
answered on 03 Sep 2025, 11:52 AM
Hello, Jhon,
Yes, it is possible to display a boolean field as a checkbox in RadListView when using the DetailsView mode in WinForms. I can suggest the following approaches to achieve this:
Set the ShowCheckBoxes property to true to display checkboxes for each row: Using Checkboxes
By default, enabling ShowCheckBoxes will display a checkbox for each row. If you want the checkbox to appear only in the "Active" column (and not for the whole row), you will need to implement a custom cell. I believe this approach will be more close to your scenario and bind the active field from your data. The custom cell should inherit from DetailListViewDataCellElement. Then, in the CreateChildElements method, you can add a RadCheckBoxElement. More details and example on creating a custom cell can be found here: Custom items - WinForms ListView Control
I hope this information helps. If you have other questions, please let me know.
Regards,
Nadya | Tech Support Engineer
Progress Telerik