I'm trying to override default behavior for menu item rendering and there is one thing bothering me.
I have a menu widget and I'm trying to figure how the items in
are connected. To be more specific, I'd like to figure out what makes an item a 2nd level item.
Here is relevant structure:
gives me list of all 5 items and I've been looking trough the structure and cannot figure out how should I recognize structure... I thought that maybe item might have Parent property with ParentMenuItem but all of them have complete menu in the "Parent"