Rectangle Properties - Visibility Tab (Visual Studio Report Designer)
Use the Visibility tab of the Rectangle Properties dialog box to define visibility options for the rectangle.
Options
- Initial visibility
Select an option to indicate how the rectangle is initially displayed on the report.
- Visible
Choose this option to show the rectangle.
- Hidden
Choose this option to hide the rectangle.
Expression
Choose this option to vary the initial visibility using an expression.Type an expression that evaluates to a Boolean: True to hide the item and False to show the item. Click the expression (fx) button to edit the expression.
- Visibility can be toggled by another report item
Choose this option to indicate that another report item can change the visibility of the rectangle.
- Report item
Type or select the name of the report item that the user can click to change the visibility of the current rectangle. The report item must be a text box in the same grouping or containing grouping as the current rectangle.
See Also
Reference
Rectangle Properties Dialog Box - General Tab (Visual Studio Report Designer)
Concepts
Adding Interactivity, Visibility, and Navigation to a Report (Visual Studio Report Designer)
Using Expressions in a Report (Visual Studio Report Designer)
Grouping Data in a Report (Visual Studio Report Designer)
ReportViewer Controls (Visual Studio)
ReportViewer Web Server and Windows Forms Controls