Indicates whether or not the checkbox should be toggled whenever an item is selected. The default behaviour is to just change the selection, and then make the user click again to check it. However, some may prefer checking the item as soon as it is clicked.
[Visual Basic] Public Property CheckOnClick As Boolean [C#] public bool CheckOnClick {get; set;} [C++] public: __property bool get_CheckOnClick(); public: __property void set_CheckOnClick(bool); [JScript] public function get CheckOnClick() : Boolean; public function set CheckOnClick(Boolean);
false if the listbox will just change selection on the first click, or true if it will always toggle checking right away.
CheckedListBox Class | CheckedListBox Members | System.WinForms Namespace