.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

help with menuitems

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :WPF
 

Hi


i want achive this using xml but i donot know can anyone help me.


if i click on the one of my menuitem
i can able to open mydocuments folder.

thanks

 




View Complete Post


More Related Resource Links

MenuItems Rigt Click

  
Hi ,

I have created a ContextMenu and added some Menuitems to it, and now I am trying to create a menu for each menuitems in the ContextMenu. When I right-click on the menuitems, I want to create another menu; however, I don't think MenuItems detects mouse click events. So I am having a difficult time detecting "right-click" on menu items.
Veena

Binding Error When Using CompositeCollection for MenuItems

  
I'm a WPF rookie, so bare with me. I am receiving the following output errors when running my menu item code:
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'HorizontalContentAlignment' (type 'HorizontalAlignment')
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=VerticalContentAlignment; DataItem=null; target element is 'MenuItem' (Name=''); target property is 'VerticalContentAlignment' (type 'VerticalAlignment')
  <Menu.Resources>
   <Style x:Key="ItemSty

How to disable MenuItems for selected users

  

Hi all,

Can anybody help me how to disable MenuItems for selected users.

I am using Telerik RadMenu. I have different users, now i want to block some users access. I want to disable the MenuItems whenever user login to his account.

I will give you much more data if needed. I want to know from where should i start at first.

Thank you.




Best Practices For Creating MenuITems in WPF

  

Hi,

I am new to WPF and want to know if there are some guidelines to follow if we are creating menuitems specially using MVVM. We have the application that's way complex and we have redundancy in menus that we need to remove. SO wanted to know if any body can help me in this. Can we create some separate xaml where we can put common menus and then use them.

thanks in advance.


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend