No announcements
Found 33629 threads
-
1 Votes
menuitem 'System.Runtime.InteropServices.COMException' occurred in UIAutomationProvider.dll
Hey all, There is a problem when using the menuitem of WPF 4.0.Answered | 3 Replies | 2516 Views | Created by FFMM - Sunday, June 30, 2013 5:20 AM | Last reply by Lisa Zhu - Monday, July 8, 2013 8:42 AM -
1 Votes
Make a MenuItem non selectable in WPF
If a MenuItem under the Favorites node is represented by a FavouritesViewItem object, you should add a Boolean property to this class and bind this one to the IsEnabled property of the ...Answered | 5 Replies | 3914 Views | Created by Kinshu - Friday, March 28, 2014 11:21 AM | Last reply by Kinshu - Tuesday, April 1, 2014 6:08 AM -
2 Votes
MenuItem and MouseOver
<Menu> <MenuItem Header="Main" x:Name="main" > <MenuItem.Style> ...Answered | 3 Replies | 6402 Views | Created by amithashenoy - Friday, March 14, 2014 11:39 PM | Last reply by AyyappanSubramanian - Thursday, March 20, 2014 12:48 AM -
0 Votes
MenuItem ItemsSource
<MenuItem ...Answered | 5 Replies | 12647 Views | Created by h1 - Tuesday, September 26, 2006 10:53 PM | Last reply by Zhou Yong - Wednesday, September 27, 2006 3:32 PM -
0 Votes
MenuItem addHandler
You can add handler like this: XAML <Window x:Class="WpfApplication4.Window1" ...Answered | 1 Replies | 6705 Views | Created by Garvander - Sunday, June 14, 2009 11:50 PM | Last reply by LiangTao - Monday, June 15, 2009 12:42 AM -
0 Votes
ContextMenu MenuItem visibility
We have a collection of command objects (objects that implement ICommand, with some other properties) that is the ItemsSource of a context menu.Answered | 2 Replies | 6898 Views | Created by Alex Shtof - Thursday, February 5, 2009 3:49 PM | Last reply by Alex Shtof - Tuesday, February 10, 2009 11:06 AM -
0 Votes
Binding Combobox itemssource to List that is not part of the ListView's ItemsSource
<ComboBox Name="combobox" ItemsSource="{Binding Path=JoinOperators}"/> If so, you could place your combobox into ...Answered | 6 Replies | 10635 Views | Created by WRBehning - Monday, June 11, 2012 8:12 PM | Last reply by WRBehning - Wednesday, June 13, 2012 9:49 PM -
3 Votes
ComboBox ItemsSource
<Window x:Class="WPF_ComboBox.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" ...Answered | 10 Replies | 6014 Views | Created by CoreyMichael - Monday, March 1, 2010 8:58 PM | Last reply by CoreyMichael - Tuesday, March 2, 2010 3:43 PM -
0 Votes
Create Sub MenuItem Dynamically
I need to create my ContextMenu via VB code and need a way to add the Sub MenuItem.Answered | 2 Replies | 3832 Views | Created by ritagreen - Wednesday, August 26, 2009 10:36 PM | Last reply by ritagreen - Thursday, August 27, 2009 2:56 PM -
1 Votes
Leave MenuItem open when another MenuItem gets focus
Hi Gidi, I think the simpest solution is to just use different Menu objects to host each MenuItem.Answered | 4 Replies | 3906 Views | Created by gidi - Saturday, October 8, 2011 9:09 PM | Last reply by gidi - Monday, October 10, 2011 2:33 PM -
0 Votes
How to disable menuItem shortcuts while disabling menuitem?
Hello, I have created menuItem with shorcuts using RoutedCommand to save the record.Answered | 1 Replies | 995 Views | Created by Ujjval Patel - Saturday, December 13, 2014 6:17 AM | Last reply by Magnus (MM8) - Saturday, December 13, 2014 9:20 AM -
0 Votes
How to add an image to a MenuItem?
Hi, this all works very well, until I try to specify an Image for each <MenuItem> on a menu bar or strip.Answered | 4 Replies | 5216 Views | Created by MarkTR - Friday, April 3, 2009 11:03 AM | Last reply by MarkTR - Tuesday, April 7, 2009 3:59 PM -
2 Votes
Allowing TextBox on MenuItem?
Putting the TextBox in the <MenuItem.Header> stops it going into a sub-menu: <MenuItem Header="_System"> <MenuItem> ...Answered | 8 Replies | 9948 Views | Created by Enric Vives - Monday, March 17, 2014 9:11 PM | Last reply by Adeling - Monday, May 20, 2019 1:23 PM -
1 Votes
MenuItem style problem
When I took a look at the icon property of MenuItem, it turns out that this is an object.Answered | 7 Replies | 748 Views | Created by zleug - Friday, August 18, 2017 4:58 PM | Last reply by Andy ONeill - Sunday, August 20, 2017 9:22 AM -
0 Votes
WPF: MenuItem Icon
I would like to add an icon to my MenuItems.Answered | 1 Replies | 4971 Views | Created by DennisMadsen - Tuesday, December 2, 2008 6:15 PM | Last reply by Tan Silliksaar - Tuesday, December 2, 2008 11:41 PM -
0 Votes
Items collection must be empty before using ItemsSource.
Let`s simplify this XAML code to get it work: <Menu Name="MainMenu" ItemsSource="{Binding Actions}" Grid.Row="1" ...Answered | 3 Replies | 9121 Views | Created by vtortola - Saturday, April 18, 2009 5:59 PM | Last reply by Swetha bgt - Friday, January 27, 2012 4:06 AM -
0 Votes
WPF: MenuItem Icon
Well, I discover that I should use ImageSource for menuItems and Image for my Window.Answered | 9 Replies | 13022 Views | Created by DennisMadsen - Wednesday, December 3, 2008 8:10 AM | Last reply by Rahul P Nath - Wednesday, December 3, 2008 12:53 PM -
2 Votes
menuitem checkbox
My radiobutton list looks like: <MenuItem Header="RadioButtonMenuItem"> <MenuItem > <MenuItem.Header> ...Answered | 6 Replies | 2335 Views | Created by zleug - Tuesday, January 22, 2013 1:02 AM | Last reply by Sheldon _Xiao - Monday, February 4, 2013 10:26 AM -
0 Votes
How to set the Height of the MenuItem
So the Native MainMenu control can not be configured for height for menuitem.Answered | 6 Replies | 4100 Views | Created by BinaryWave - Friday, October 30, 2009 4:18 AM | Last reply by Christian Resma Helle - Sunday, November 1, 2009 8:01 PM -
1 Votes
Change MenuItem background and foreground color
Hi, Your problem is that a menuitem can have different roles whether it is a top-lelvel menuitem or a sub menuitem.Answered | 2 Replies | 5833 Views | Created by MingHoLin - Monday, August 22, 2016 11:23 AM | Last reply by Manuel Meyer - Tuesday, August 23, 2016 9:23 AM - Items 1 to 20 of 33629 Next ›
No announcements