ActiveReports.Viewer3 Request technical support
CheckState Property
See Also  Example


Gets or sets a value that determines the current state of a CheckButton tool.

Syntax

Visual Basic (Declaration) 
Public Property CheckState As CheckState
Visual Basic (Usage)Copy Code
Dim instance As CheckButton
Dim value As CheckState
 
instance.CheckState = value
 
value = instance.CheckState
C# 
public CheckState CheckState {get; set;}

Return Value

A System.Windows.Forms.CheckState value that represents the current state of the tool.  Default is CheckState.Unchecked.

Example

C#Copy Code
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);
Visual BasicCopy Code
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)

See Also