2.301 Visibility

The Visibility element specifies properties to determine whether a report item is shown in a rendered report. This element is optional. If this element is not present, the report item MUST be shown unconditionally.

Following are the parent and child elements of the Visibility element.

Parent elements

Image

Line

Rectangle

Subreport

Textbox

Tablix

TablixMember

List

Matrix

DynamicColumns

DynamicRows

Table

Details

TableRow

TableColumn

TableGroup

Chart

GaugePanel

Map

CustomReportItem

Child elements

Visibility.Hidden

Visibility.ToggleItem

The following is the XML Schema definition of the Visibility element.

 <xsd:complexType name="VisibilityType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToggleItem" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>