Hello,
There seems to be an exception when using SfMenuItemSeparator inside of SfMenuItem, we've created a simple menu with some sub-menus and then decided to use a separator and got this exception:
Unable to cast object of type 'Syncfusion.UI.Xaml.Controls.Navigation.SfMenuItemSeparator' to type 'Syncfusion.UI.Xaml.Controls.Navigation.SfMenuItem'.
We're using Syncfusion V14.4.0.20 and the control was suggested inside of SfMenu, added a screenshot at the end and a attached file with a sample of the menu breaking when navigating to Menu 1 > Item 1.3.
We found an workaround for this but we wanted to see if we missed something or if there's a better way of using or creating the separator which Syncfusion has.
The workaround which we found was creating a custom control template for SfMenuItem, which contains just a simple Rectangle of 1 height inside.
Thanks and have a nice day.
Alexandru.
Attachment:
SyncfusionMenu_b596e222.rar