ActiveReports 8
CheckAlignment Property
See Also  Example
GrapeCity.ActiveReports.v8 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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also