ActiveReports 16 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / CheckBox Class / Checked Property
Example

In This Topic
    Checked Property (CheckBox)
    In This Topic
    Gets or sets a value indicating the state of the checkbox.
    Syntax
    'Declaration
     
    Public Property Checked As Boolean
    public 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
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.checkBox1.Checked = true;
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.CheckBox1.Checked = True
    End Sub
    See Also