We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Binding and Sub-MenuItems

Thread ID:





127366 Nov 10,2016 09:41 AM UTC Nov 15,2016 09:20 AM UTC UWP 1
Tags: SfMenu
Gernot Knes
Asked On November 10, 2016 09:41 AM UTC


I want to build the structure of my SfMenu-control based on a View-Model and binding. This works fine as long as I have a "flat" menu without sub-elements. Is there a way to bind to a structure holding also sub-menu-items.

Current idea would be something like this:

public ObservableCollection<MyMenuItemClass> MenuItems {get; set;}

public string MenuHeader {get; set; }
public ObservableCollection<MyMenuItemClass> SubMenuItems {get; set;}

But of course the binding does not automatically recognize the MenuItems. Also tried to add binding within the ItemContainerStyle and the ItemsSource property. But this does not work.

Any suggestions?

Best regards, Gernot

Marimuthu Sivalingam [Syncfusion]
Replied On November 15, 2016 09:20 AM UTC

Hi Gernot,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Marimuthu S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon