共用方式為


Matrix Element (RDL)

Defines a grid of regions that repeats with each column group and row group.

語法

<ReportItems>
       ...
        <Matrix Name="...">
              <Style>...</Style>
              <Top>...</Top>
              <Left>...</Left>
              <ZIndex>...</ZIndex>
              <Visibility>...</Visibility>
              <ToolTip>...</ToolTip>
              <Label>...</Label>
              <Bookmark>...</Bookmark>
              <Custom>...</Custom>
              <KeepTogether>...</KeepTogether>
              <NoRows>...</NoRows>
              <DataSetName>...</DataSetName>
              <PageBreakAtStart>...</PageBreakAtStart>
              <PageBreakAtEnd>...</PageBreakAtEnd>
              <Filters>...</Filters>
              <Corner>...</Corner>
              <ColumnGroupings>...</ColumnGroupings>
              <RowGroupings>...</RowGroupings>
              <MatrixRows>...</MatrixRows>
              <MatrixColumns>...</MatrixColumns>
              <LayoutDirection>...</LayoutDirection>
              <GroupsBeforeRowHeaders>...</GroupsBeforeRowHeaders>
              <CellDataElementName>...</CellDataElementName>
              <CellDataElementOutput>...</CellDataElementOutput>
        </Matrix>
       ...
</ReportItems>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

0-n: Optional element that can occur once or more.

Element Attributes

Attribute Type Description

Name

String

Name of the matrix.

Element Relationships

Relationship Element

Parent element

ReportItems

Child elements

Bookmark, CellDataElementName, CellDataElementOutput, ColumnGroupings, Corner, Custom, DataSetName, Filters, GroupsBeforeRowHeaders, KeepTogether, Label, Left, LayoutDirection, MatrixColumns, MatrixRows, NoRows, PageBreakAtEnd, PageBreakAtStart, RowGroupings, Style, ToolTip, Top, Visibility, ZIndex

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助