ActiveReports3 Request technical support
Checked Property
See Also  Example


Gets or sets a value indicating the state of the checkbox.

Syntax

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

Return Value

Boolean.  True if the check box is in the checked state; otherwise, False. The default value is False.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
   
this.checkBox1.Checked = true;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.CheckBox1.Checked = True
End Sub

Remarks

When the value is True, the check box portion of the control displays a check mark.

See Also