ActiveReports 6 Online Help
CheckState Property
Example 

Gets or sets a value that determines the current state of a CheckButton tool.
Syntax
'Declaration
 
Public Property CheckState As CheckState
public CheckState CheckState {get; set;}

Property Value

A System.Windows.Forms.CheckState value that represents the current state of the tool.  Default is CheckState.Unchecked.
Example
DataDynamics.ActiveReports.Toolbar.CheckButton chk = New DataDynamics.ActiveReports.Toolbar.CheckButton();
chk.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.TextAndIcon;
chk.Caption = "Check it out!";
chk.CheckState = CheckState.Unchecked;
chk.Id = 777;
arv.Toolbar.Tools.Insert(1, chk);
Dim chk As New DataDynamics.ActiveReports.Toolbar.CheckButton
chk.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.TextAndIcon
chk.Caption = "Check it out!"
chk.CheckState = CheckState.Unchecked
chk.Id = 777
arv.Toolbar.Tools.Insert(1, chk)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CheckButton Class
CheckButton Members

Send Feedback