children

Type: MenuItemArray

Availability: Read at run time only

The children property of the MenuItem class contains a reference to an array of all of the immediate children of the menu item (that is, the menu item is the direct parent of the menu items in the collection). The collection is ordered according to the defined menu item list.

The following code fragment is an example of the use of the children property.

foreach menu in mnuOptions.children do
    if menu.checked then
        .... // do some processing here
    endif;
endforeach;

2016.0.01 and higher