| Visual Basic (Declaration) | |
|---|---|
Public Property LineSpacing As System.Single  | |
| C# | |
|---|---|
public System.float LineSpacing {get; set;} | |
| C# |  Copy Code | 
|---|---|
private void detail_Format(object sender, EventArgs e) { this.textBox1.CanGrow = True; this.textBox1.MultiLine = True; this.textBox1.LineSpacing = 5; }  | |
| Visual Basic |  Copy Code | 
|---|---|
Private Sub Detail1_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.TextBox1.CanGrow = True Me.TextBox1.MultiLine = True Me.TextBox1.LineSpacing = 5 End Sub  | |