InitialState Element (RDL)

Specifies the initial state of a visibility toggle image.

Syntax

<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

Remarks

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.

See Also

Reference

Report Definition XML Elements

Help and Information

Getting SQL Server 2005 Assistance