2.284.20 CustomReportItem.Width

The CustomReportItem.Width element specifies the width of a CustomReportItem element. The CustomReportItem.Width element is optional and MUST NOT be specified more than once. If this element is present, it is of type RdlSize.

If the CustomReportItem.Width element is not present, if the custom report item is not supported by the renderer, and if the CustomReportItem.AltReportItem element specifies a tablix, the width of the custom report item is interpreted to be the maximum of the width of the tablix and the value of the CustomReportItem.Width element.

Under any other circumstances, if the CustomReportItem.Width element is not present, its value is interpreted as the Width element child of the immediate ancestor report item element minus the value of the CustomReportItem.Left element.

Note The width of a custom report item is fixed and cannot be adjusted by the report item code.

Following is the parent element of the CustomReportItem.Width element.

Parent elements

CustomReportItem

The following is the XML Schema definition of the CustomReportItem.Width element.

 <xsd:element name="Width" type="SizeType" minOccurs="0" />