Textbox Properties - Format Tab (Visual Studio Report Designer)
Use the Format tab of the Textbox Properties dialog box to define format options for the text box.
Options
- Format code
Type a Microsoft .NET Framework formatting code or an expression that evaluates to a .NET Framework formatting code. Click the expression (fx) button to edit the expression. For more information, see the .NET Framework SDK documentation.
- Line height
Type or select a line height or an expression that evaluates to a line height. Click the expression (fx) button to edit the expression.
- Textbox height
Select an option to indicate whether the text box can grow or shrink to accommodate the contents of the text box.
- Can increase to accommodate contents
Choose this option to increase the size of the text box as contents grow.
- Can decrease to accommodate contents
Choose this option to decrease the size of the text box as contents shrink.
- Amount of space to leave on each side of report item
Provides information about the padding to use between the edge of the text box and the text in the text box.
- Left
Type or select the size of the left padding or an expression that evaluates to the size of the left padding. Click the expression (fx) button to edit the expression.
- Right
Type or select the size of the right padding or an expression that evaluates to the size of the right padding. Click the expression (fx) button to edit the expression.
- Top
Type or select the size of the top padding or an expression that evaluates to the size of the top padding. Click the expression (fx) button to edit the expression.
- Bottom
Type or select the size of the bottom padding or an expression that evaluates to the size of the bottom padding. Click the expression (fx) button to edit the expression.
- Text direction and writing mode
Provides information about the direction and writing mode for the text box.
- Direction
Type or select a direction or an expression that evaluates to a direction. Valid values are LTR and RTL. Choose LTR to render data left-to-right, or RTL to render right-to-left. Click the expression (fx) button to edit the expression.
- Mode
Type or select a writing mode or an expression that evaluates to a writing mode. Valid values are lr-tb and tb-rl. Click the expression (fx) button to edit the expression.
See Also
Reference
Textbox Properties Dialog Box - General Tab (Visual Studio Report Designer)
Concepts
Using Expressions in a Report (Visual Studio Report Designer)
Adding Style and Formatting to a Report (Visual Studio Report Designer)
ReportViewer Controls (Visual Studio)
ReportViewer Web Server and Windows Forms Controls