Udostępnij za pośrednictwem


Textbox Properties - Visibility Tab (Visual Studio Report Designer)

Use the Visibility tab of the Textbox Properties dialog box to define visibility options for the text box. Setting visibility options allows you to create drilldown reports that show details about summary data.

Options

  • Initial visibility
    Select an option to indicate how the text box is initially displayed on the report.
  • Visible
    Choose this option to show the text box.
  • Hidden
    Choose this option to hide the text box.
  • 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 text box.
  • Report item
    Type or select the name of the report item that the user can click to change the visibility of the current text box. The report item must be a text box in the same grouping or containing grouping as the current text box.
  • Initial appearance of the toggle image for this report
    Select an option to indicate the initial state of the toggle image (+/-) for the report item.
  • Expanded (-)
    Choose this option to display a toggle image of expanded (-).
  • Collapsed ()
    Choose this option to display a toggle image of collapsed ().
  • Expression
    Choose this option to vary the toggle image using an expression.

    Type an expression that evaluates to a Boolean: True for expanded (-), and False for collapsed (). Click the expression (fx) button to edit the expression.

See Also

Reference

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

Concepts

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

Other Resources

Report Designer User Interface Reference (Visual Studio)