Visibility Element (RDL)

Indicates whether the item is displayed in the rendered report.

语法

<Textbox Name="..."> <!-- or Line, Rectangle, Image, Subreport, List, Matrix , Table, Chart, CustomReportItem, DynamicColumns, DynamicRows, TableColumn, TableRow, TableGroup, Details -->
       ...
        <Visibility>
              <Hidden>...</Hidden>
              <ToggleItem>...</ToggleItem>
       </Visibility>
       ...
</Textbox> <!-- or /Line, /Rectangle, /Image, /Subreport, /List, /Matrix, /Table, /Chart, CustomReportItem, /DynamicColumns, /DynamicRows, /TableColumn, /TableRow, /TableGroup, /Details -->

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent elements

Chart, CustomReportItem, Details, DynamicColumns, DynamicRows, Image, Line, List, Matrix, Rectangle, Subreport, Table, TableColumn, TableGroup, TableRow, Textbox

Child elements

Hidden, ToggleItem

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助