See Also

TextBox Class  | TextBox Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

VerticalAlignment Property

Gets or sets the position of the control's text vertically within the bounds of the control.

[Visual Basic]
Public Property VerticalAlignment As VerticalTextAlignment
[C#]
public VerticalTextAlignment VerticalAlignment {get; set;}

Return Type

VerticalTextAlignment enumeration value that represents the vertical alignment of the control's text.  Default is VerticalTextAlignment.Top.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.TextBox1.VerticalAlignment = VerticalTextAlignment.Top; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.VerticalAlignment = VerticalTextAlignment.Top
End Sub

See Also

TextBox Class  | TextBox Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.