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

Glossary Item Box

Gets or sets the alignment of the checkbox text within the control drawing area.

Syntax

Visual Basic (Declaration) 
Public Property CheckAlignment As System.Drawing.ContentAlignment
C# 
public System.Drawing.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

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.checkBox1.CheckAlignment = System.Drawing.ContentAlignment.MiddleLeft;
}
Visual BasicCopy Code
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