Expand Method (ExpandItem)

Class

  • ExpandItem
  • MsuiaComboBox
  • MsuiaCustom
  • MsuiaDataItem
  • MsuiaGroup
  • MsuiaListItem
  • MsuiaMenuBar
  • MsuiaMenuItem
  • MsuiaSplitButton
  • MsuiaToolBar
  • MsuiaTreeItem

Action

Expands the expandable items.

Availability

This functionality is supported only if you are using the Open Agent.

Syntax

element.Expand ()

Example

WPFTestApplication.MsuiaMenu1.Menu.Expand()

Notes

Expand expands the specified item if it is currently collapsed (that is, has visible children).