ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / CheckBox Class / CheckAlignment Property
Example

In This Topic
    CheckAlignment Property (CheckBox)
    In This Topic
    Gets or sets the alignment of the checkbox text within the control drawing area.
    Syntax
    'Declaration
     
    Public Property CheckAlignment As ContentAlignment
    public ContentAlignment CheckAlignment {get; set;}

    Property Value

    Current alignment setting.  Default is System.Drawing.ContentAlignment.MiddleLeft.

    Possible values are: 

    • System.Drawing.ContentAlignment.BottomCenter
    • System.Drawing.ContentAlignment.BottomLeft
    • System.Drawing.ContentAlignment.BottomRight
    • System.Drawing.ContentAlignment.MiddleCenter
    • System.Drawing.ContentAlignment.MiddleLeft
    • System.Drawing.ContentAlignment.MiddleRight
    • System.Drawing.ContentAlignment.TopCenter
    • System.Drawing.ContentAlignment.TopLeft
    • System.Drawing.ContentAlignment.TopRight
    Example
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.checkBox1.CheckAlignment = System.Drawing.ContentAlignment.MiddleLeft;
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.CheckBox1.CheckAlignment = System.Drawing.ContentAlignment.MiddleLeft
    End Sub
    See Also