共用方式為


Textbox Element (RDL)

Defines a text box to be drawn in the report.

語法

<ReportItems>
       ...
       <Textbox Name="...">
              <Style >...</Style>
              <Action>...</Action>
              <Top>...</Top>
              <Left>...</Left>
              <Height>...</Height>
              <Width>...</Width>
              <ZIndex>...</ZIndex>
              <Visibility >...</Visibility>
              <ToolTip>...</ToolTip>
              <Label>...</Label>
              <Bookmark>...</Bookmark>
              <RepeatWith>...</RepeatWith>
              <Custom>...</Custom>
              <Value>...</Value>
              <CanGrow>...</CanGrow>
              <CanShrink>...</CanShrink>
              <HideDuplicates>...</HideDuplicates>
              <ToggleImage>...</ToggleImage>
              <DataElementStyle>...</DataElementStyle>
     </Textbox>
       ...
</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 text box.

Element Relationships

Relationship Element

Parent element

ReportItems

Child elements

Action, Bookmark, CanGrow, CanShrink, Custom, DataType, Height, HideDuplicates, Label, Left, RepeatWith, Style, ToolTip, ToggleImage, Top, Value, Visibility, Width, ZIndex

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助