ICreate.Controls.Bars Send comments on this topic.
CheckOnClick Property
See Also 
ICreate.Controls.Bars Namespace > CommandItem Class : CheckOnClick Property






Gets or sets the value which indicates if the Checked property is toggled when the CommandItem is clicked.

Syntax

Visual Basic (Declaration) 
Public Property CheckOnClick As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CommandItem
Dim value As Boolean
 
instance.CheckOnClick = value
 
value = instance.CheckOnClick
C# 
public bool CheckOnClick {get; set;}
Delphi 
public read-write property CheckOnClick: Boolean; 
JScript 
public function get,set CheckOnClick : boolean
Managed Extensions for C++ 
public: __property bool get_CheckOnClick();
public: __property void set_CheckOnClick( 
   bool value
);
C++/CLI 
public:
property bool CheckOnClick {
   bool get();
   void set (bool value);
}

Return Value

A System.Boolean value, this property determines if the Checked property of the CommandItem is toggled when the CommandItem is clicked. If true then the Checked property is toggled each time the CommandItem is clicked; otherwise it is false and the Checked property is not toggled. The default value for CheckOnClick is false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also