masterState Property

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

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

Syntax

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

Possible Values

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

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

Remarks

The masterState property returns a value only from the first, or topmost, menu item.

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

Applies To

menu