InitialState Element (RDL)

Specifies the initial state of a visibility toggle image.

语法

<ToggleImage>
    ...
        <InitialState>...</InitialState>
    ...
</ToggleImage>

Element Characteristics

Characteristic Description

Data type and length

Boolean

Default value

False

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent element

ToggleImage

Child element

None

备注

The InitialState element must contain a Boolean expression. If IntitalState is True, the toggle image is a minus sign (-), for expanded. If InitialState is False, the toggle image is a plus sign (+), for collapsed. The ToggleImage element is used in conjunction with the Visibility element on any report items that can be hidden using the text box that is the parent of the parent ToggleImage element.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助