Udostępnij za pośrednictwem


Line Properties - Visibility Tab (Visual Studio Report Designer)

Use the Visibility tab of the Line Properties dialog box to define visibility options for the line.

Options

  • Initial visibility
    Select an option to indicate how the line is initially displayed on the report.
  • Visible
    Choose this option to show the line.
  • Hidden
    Choose this option to hide the line.
  • 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 line.
  • Report item
    Type or select the name of the report item that the user can click to change the visibility of the current line. The report item must be a text box in the same grouping or containing grouping as the current line.

See Also

Reference

Line Properties - Navigation Tab (Visual Studio Report Designer)
Line Properties Dialog Box - General Tab (Visual Studio Report Designer)

Concepts

Adding Interactivity, Visibility, and Navigation to a Report (Visual Studio Report Designer)
Adding Rectangles, Lines, and Borders to a Report (Visual Studio Report Designer)
ReportViewer Controls (Visual Studio)
ReportViewer Web Server and Windows Forms Controls

Other Resources

Report Designer User Interface Reference (Visual Studio)