I've setup a custom command with PageDown as the key gesture, but for the MenuItem that is bound to that command the gesture shows up as "Next". The problem is that I have commands that use PageUp, Home, and End for related tasks and they all show up as expected for their MenuItems. Is there some way to make the MenuItem show "PageDown...
Recently I wrote a piece of C# code utilizing a Lambda expression:
var dynMenu = new List<MenuItem>();
// some code to add menu items to dynMenu
if (!dynMenu.Any(x => x.Text == controller))
{
// do something
}
While going thru my code, I discovered that each MenuItem itself has a property called ChildItems which happens to be of ...
Hi All,
I am using Menu control in asp.net. I am creating Menu control using xml databinding.
Here is the xml file;
<?xml version="1.0" encoding="utf-8" ?>
<Items Text="">
<Item Text="" ImgPath="./../images/home.gif" Url="" Value="Home" />
<Item Text="" ImgPath="" Url="" Value="Time Entry" >
<Item Text="" Va...
I'm attempting to setup a MenuItem that will have a submenu of page numbers that can be selected. I want to bind the ItemsSource to a list of page numbers (actually to the PageCount with a converter creating the list) and then bind the IsChecked property of each MenuItem in the sub-menu to the PageIndex. My problem is with the second b...
Delphi 2010, Win32 VCL. I need to create a main menu for my application with the most standard look. TMainMenu looks nice in all Windows versions, the only bad thing is when it displaying images for items with Enabled=False.
Delphi has some strange method for building that disabled images (b/w extrusion with bevels, for me it looks lik...
Hi,
I have an urgent problem..I am developing a windows mobile 6.0 application and the menu item key (which I putted on left side to serve as a back button) only fires when I double click it or after several one clicks..but the items on the right side which in a menu works fine..
I see on the screen that it is clicked(phone vibrates)...
In my C++ solution there are two projects : a SDI app and a MDI app.
Both have quite a lot of menus, and I often make changes (add / delete / replace menus).
Instead of checking for correctness myself (I'm error-prone, you know), I would love to have an automation for this.
Ideally it would warn me for either not having a handler for s...
Hi,
I have different pages containing charts (swf file).These charts are built using amcharts. In the header there is a menu containing link to different pages. If in a page there is a content followed by chart then menus are displayed correctly as can be seen from the following image
But if a page contains chart only then only some ...
Is there a way to put radio menu items in a GNOME panel applet's context menu, and then control which of the items is marked as active? The official documentation is less than helpful, and all of the applets installed on my computer use normal menu items, so I can't look at their source code for any guidance.
...
Hello.
I'm using a CCMenu in my small project, it has three buttons in it. I need these buttons to keep triggering if they detect a touch, and as this isn't normal behaviour I decided to subclass the CCMenuItem and override a couple of methods.
The two methods I wish to override are:
-(void) selected
{
// subclass to change the de...
Hi,
anybody found an easy way to change the number of elements in a menu row?
I have 5 MenuItems. They are put in row 1 with two, and row 2 with three items.
Is there an easy way to make row 1 to have three items and row 2 to have two items?
Thanks!
Llappall
...
I'm working on a wordpress site, customizing the menu. I'm no php whiz, and I want the menu to sort according to the numerical order, not desc alphabetically.
<div id="navigation">
<ul>
<?php wp_list_pages('sort_column=post_title&sort_order=desc&title_li=&depth=1&')?>
</ul>
</div><!-- end id:navigation -->
Any ideas how I do ...
Can anyone suggest me some good sources for downloading icons which i can add in my WPF forms context menu.I am looking for icons for "Cut" ,"Copy","Paste","Delete"
...
I want to have a shortcut key combination (like Ctrl+Alt+D) in my app to invoke a function, but I don't want the shortcut to appear on any menu. Is it possible to have a shortcut available in your app that is otherwise invisible?
...
I didn't know how to make the 'issue' (different behavior) more clear in the title, but I'll explain here.
In our WPF application, we're using the DataGrid control to list a number of entities. After double clicking a row, we open a new Window and in that Window, there are among other things a couple of MenuItem controls.
The problem i...
Hi,
I templated the way items shows up in a menu, but, for an unknown reason, I am having trouble displaying the whole text in the MenuItem. Here is a screen capture of the problem:
Here is the markup code I used to template it:
<ItemsPanelTemplate x:Key="SideBarItemsPanelTemplate">
<StackPanel Orientation="Vertical"/>
</ItemsPan...
Hey all,
I've spent a good portion of my day researching this; I'm curious if it's possible to do simple binding fully in XAML, without the need to implement INotifyPropertyChanged in the code behind.
Ironically, in the amount of time I've spent researching this I could have just done it in the code behind 5 times over.
I've come acro...
I have a menu item that needs to be formated like This & That, but the & is converted to an underscore. Is there an escape character to actually be able to display the &?
...
For Windows applications it is quite common to show verbose descriptions of menu items in the status bar if hovering over them. Where to show similar information in Mac applications?
...
I have a ContextMenu style and a MenuItem style, both of which are working properly on the top menu. The problem is if I add a submenu to a menu item, then the submenu is not being styled properly. It looks like you can only style the menuitem at this point, and not the actual sub menu so you can't replace the IsMouseOver styling (it j...