Whenever I attach a DataTemplate to a MenuItem, each generated menu item gets an extra space on the left side. This extra space looks as wide as the space reserved for the check, which I use. Building a menu manually without a DataTemplate doesn't add this extra space. As an extra wrinkle, if I click on this extra space the menu item goe...
Brain freeze here.
What I want to do is have the Suckerfish drop down menu link to be active on the current page in the drop down as well as the top item.
I.e. below, in the Articles menu item, I'd like to have the top item "Articles" active at the same time that either Categoryone or Categorytwo is active. (Archives is a single level ...
Hello!
First take a look at my code:
<ListBox ItemsSource="{Binding}" SelectionMode="Multiple"
ItemTemplate="{StaticResource ContactTemplate}">
<ListBox.ContextMenu>
<ContextMenu>
<MenuItem Name="mnuEdit" Header="_Edit" Click="MenuItem_Click" />
</ContextMenu>
</ListBox.ContextMenu>
</ListBox>
...
Is it possible to leave a Menu open after a selection/check of certain menu items in Compact Framework? I found an answer to this but it doesn't work for Compact Framework.
I want to check a menu item but have it stay open after I check the item.
...
Hi Guys
I am having a problem with my app's menu. I want a few items in the menu to be greyed out depending on some BOOL variables.
Also, I want some of my menu items to get names depending on some BOOL variables and thereby execute different functions depending on what the menu item name is. Is this possible? As using Interface Build...
Hi All. I am relatively new to Jquery and JSON and this is my first post here, please bear with me.
I have a JSON menu string with an array of three items (name, url, id - our internal page id number) and the top level navigation builds out fine. I loop through the top level items and call a recursive function to get the sub menus.
...
I want to have 2 menu lists and you must select an option from each list then click the next button taking you to another page.
Here's a link: http://home.comcast.net/~techjunkee/
...
Hi I am trying to have a MenuItem.Icon set thru a style setter:
<Style x:Key="MenuItem_Delete" TargetType="MenuItem"
BasedOn="{StaticResource {x:Type MenuItem}}">
<Setter Property="Header" Value="_Delete"/>
<Setter Property="MenuItem.Icon">
<Setter.Value>
<Image Source="Resources/Delete.png"/>
...
Hey everyone,
I've run into a problem trying to implement a Menu and can't figure out what is going on. I'm trying to make a single-layer menu using the Menu control. Here is my menu code:
<Menu DockPanel.Dock="Top" Height="22" Name="menu1" VerticalAlignment="Top" Background="#FF325170">
<MenuItem Header="Featured" Style="{Static...
Hello,
I am using Dojo 1.3.1 and have a dijit.Menu with several dijit.MenuItem items. The menu is displayed as a context menu when the user right-clicks on items that were bound to the menu using (dijit.byId("contextmenu_pf")).bindDomNode(...). All works well, but frequently when the menu is displayed, one or more of the menu items ar...
I have an OLD mac C/C++ program that I'm maintaining. It's still based on rsrc files and OS 9 system calls. (Yes, yes, I know. I'm TRYING to drag my company into the 21st century, but the other engineer is still using OSX10.3.9! please pity me)
I'm trying to get modifier shortcut functionality. Cmd-S works, for example. However, Opt-Cmd...
I create popup menu like this.
<DockPanel.ContextMenu>
<ContextMenu Background="#CD252220" Opacity="0.95" Foreground="LightGray" BorderBrush="DarkGray">
<MenuItem Header="_Save Image..." x:Name="btSave" IsEnabled="False" Click="btSave_Click" Style="{StaticResource MyStyle}">
<MenuItem.Icon>
<Image...
I'm trying to figure out the keyboard shortcut (e.g., shift+cmd+S) of a given menu item in Applescript. The "Probe Menu Bar" script has helped me to access the menu items and even inspect their properties and such, but I've been unable to discover which of these will print out the keyboard shortcut.
The probe script is like this:
tell ...
I am writing an WPF application with a menu.
it needs 2 to 4 seconds to show the submenu.
during that 2~4 seconds, the submenu showed in transparency state.
So here is the Question, How Can I disable the transparency state of the menu?
or something to avoid the 2~4 seconds' delay?
Thanks in advance.
...
I have my solution implemented (basic solution) and I'm happy.
Problem is when I add new items to a ToolStripItemCollection using the 'Add' method, I get a few overloads ... the meaningful one being a string parameter, an image parameter and an EventHandler parameter.
Because my drop down list is going to be serving as a dynamic histo...
Is it possible to use asp.net standard Menu (server-control) for tasks other than navigation?
For example: I want to use asp.net menu to add a button control to the asp.net panel (server-control).
This idea of mine is basically came from the winforms environment, where there are events and event-handlers for menu and menu-items.
...
I'm following the example here of binding a MenuItem to a data object.
<Menu Grid.Row="0" KeyboardNavigation.TabNavigation="Cycle" ItemsSource="{Binding Path=MenuCommands}">
<Menu.ItemContainerStyle>
<Style>
<Setter Property="MenuItem.Header" Value="{Binding Path=DisplayName}"/>
...
I'm trying to create a nested menu hierarchy from the main menu bar. For example, the main menu bar would contain a "Goto" menuitem that could be navigated as "Goto" -> "Chapter" -> "Chapter Name" -> "Subchapter name".
The hierachy below "Chapter" needs to be added dynamically. When I do this, the menu disappears when it tries to di...
I have a dialog application in which I want to have clickable menu items at the top of the dialog. These items do not show a drop down menu but actually run the associated commands.
I did this by setting Popup=False in the dialogs properties and assigning a message-id but my problem is not having the ability to disable the item properl...
VS2008 Web Service Project missing Data Menu and Data Sources:
Simply invisible, Can't find it and just cant add a connection to my database using that wizard. why is it missing?
...