NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CheckedListBox.CheckOnClick

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);

Property Value

false if the listbox will just change selection on the first click, or true if it will always toggle checking right away.

See Also

CheckedListBox Class | CheckedListBox Members | System.WinForms Namespace