ActiveReports 9
CheckAlignment Property (CheckBox)
Example 

Gets or sets the alignment of the checkbox text within the control drawing area.
Syntax
'Declaration
 
Public Property CheckAlignment As System.Drawing.ContentAlignment
public System.Drawing.ContentAlignment CheckAlignment {get; set;}

Property Value

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

Possible values are: 

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
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

Reference

CheckBox Class
CheckBox Members

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum