Hello,
I have implemented a custom Menu similar to the one shown in the demos [http://demos.telerik.com/wpf/Telerik.Windows.Examples.xbap] using WPF. I am using the "Integration Example" which combines an Image, a Title and a Summary. The problem I am facing is that I can't figure out how I can attach the MenuItem_Click event when a user click on different menu. I tried the following but it does not work:
Any idea how I can attach the MenuItem_Click event ?
Thanks.
I have implemented a custom Menu similar to the one shown in the demos [http://demos.telerik.com/wpf/Telerik.Windows.Examples.xbap] using WPF. I am using the "Integration Example" which combines an Image, a Title and a Summary. The problem I am facing is that I can't figure out how I can attach the MenuItem_Click event when a user click on different menu. I tried the following but it does not work:
<telerik:RadMenu Grid.Row="1"
Style="{StaticResource MenuStyle}"
ItemsSource="{StaticResource MenuItemsSource}"
ItemContainerStyleSelector="{StaticResource MenuItemStyleSelector}"
ItemContainerStyle="{x:Null}" MenuItem.Click="MenuItem_Click"/>Any idea how I can attach the MenuItem_Click event ?
Thanks.