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 |
請參閱
參考
Report Definition XML Elements