state Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Retrieves whether the state of a particular menu is closed or expanded for the menu behavior.

Syntax

XML N/A
Scripting [ sState = ] menu.state

Possible Values

sState String that receives one of the following values.
closed
Default. String that specifies that the state of the menu is closed.
expand
String that specifies that the state of the menu is expanded.

The property is read-only. The property has a default value of closed.

Remarks

The state property is available only to objects participating in the menu behavior.

Applies To

menu