This is because you are attaching an internal ListView to a MenuSection.
The Commmand property is in the MenuItem object, not in the MenuSection.
You need to move the command to MenuSection.
EDIT:
page_home.axml bound to SomeViewModel =>
ListView.Items SomeViewMode.Sections = >
, item_menusection.axml, MenuSection = >
( item_menusection.axml) ListView.Items MenuSections.Items = >
, item_menusection_item.axml, MenuItem = >
TextView.Text MenuItem.Name
item_menusection.axml: ListView.ItemClick MenuSections.Command ( )
, layout/item_menusection.axml
<LinearLayout>
<TextView local:MvxBind="Text Title"/>
<Mvx.MvxListView
local:MvxItemTemplate="@layout/item_menusection_item"
local:MvxBind="ItemSource Items; ItemClick Command" />
</LinearLayout>
ListView ItemSource ItemClick ().
, MenuItem, :
item_menusection_item click MenuItem.Command.
Command MenuSection MenuItem :
public class MenuSection
{
public string Title{get;set;}
public MenuItem[] Items{get;set;}
public ICommand Command { get { return new MvxCommand<MenuSection>((ms) => ms.Command.Execute(null)); } }
}