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

Reference

CheckBox Class
CheckBox Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum