Menu.searchItems Method

Searches all the items using the specified match function in a depth-first search.
 

Parameters

matchFunc

Type: Boolean function (dundas.controls.MenuItem)
The function that determines with the item is a match.
items

Type: Array
ElementType: MenuItem
The items to search within. By default it's the this.items property.
Optional: True

Return Value


Type: MenuItem - May be null
The menu item, if found.