ActiveReports Developer 7
Checked Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > CheckBox Class : Checked Property

Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Property Checked As System.Boolean
C# 
public System.bool Checked {get; set;}

Property Value

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

Remarks

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

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

See Also