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






Gets or sets if the ButtonBarButton Checked property is automatically toggled when the ButtonBarButton is clicked.

Syntax

Visual Basic (Declaration) 
Public Property CheckOnClick As Boolean
Visual Basic (Usage)Copy Code
Dim instance As ButtonBarButton
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 ButtonBarButton is automatically toggled when the ButtonBarButton is clicked. If true then the value of the Checked property is toggled when the ButtonBarButton is clicked; otherwise it is false and the Checked property is not toggled. The default value 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