Context menu is a menu in a graphical user interface (GUI) that appears upon user interaction, such as a right-click mouse operation.Custom context menu refers to the menus created for a specific purpose.
Questions tagged [custom-contextmenu]
26 questions
0
votes
0 answers
Is it possible to match the url fragment in a chrome extension?
Currently using match patterns in chrome.contextMenus.create#targetUrlPatterns for a chromium extension, however I've run into an issue.
Is it possible to somehow filter URLs by their fragment (the string following the hash)?
My understanding is…

Blair
- 91
- 6
0
votes
0 answers
Can't paste clipboard content at cursor/caret with custom context menu. Javascript
I have created a custom context menu/right click menu and I have a custom copy function working, but not a paste function. My current paste function pastes at the end of the textarea, not where the user cursor is.
function pasteClip() {
…

Pete21
- 102
- 11
0
votes
1 answer
How to make chrome.contextMenus.onClicked.addListener distinguish for different context menu ids?
While developing contextmenu based extension for Chrome, i'm facing a situation where invoking chrome.contextMenus.onClicked.addListener in a loop adds action cumulatively for each subcontext menu item.
So, when subcontextmenu is clicked it triggers…

bprasanna
- 2,423
- 3
- 27
- 39
0
votes
1 answer
How to bind a ContextMenu to each TreeView item?
And I have a UserControl with a TreeView, and with a ContextMenu DependencyProperty:
public ObservableCollection ContextMenu {
get {
return ( ObservableCollection )GetValue( ContextMenuProperty );
}
…

Aaaaaaaa
- 2,015
- 3
- 22
- 40
0
votes
1 answer
WPF: ContextMenu MenuItem from DataContext/ItemsSource?
I'm building a simple App to store television shows. I have a Video class for the shows with some fields and properties including one reference to an object of type VideoSeason, representing the seasons of TV shows. The corresponding UI element of a…

oneManArmin
- 606
- 6
- 24
0
votes
1 answer
Add contextual menu to .config files
I'm currently trying to add a contextual menu (right click menu) on a specific extension : .config
I managed to add a contextual menu to all files, unknown files, .jpg, and every other extension I've tried, except for .config, and I don't know…

Yohek
- 1
- 2
0
votes
1 answer
Excel VBA Context Menu
Problem:
When you try to change ContextMenu("Cell") (Right Click in a cell) sometimes you can see how the context menu changed, and sometimes you don't.
You ever wonder why? I'll share it so I can save some other newbie's time.
For an example Ron de…

Charlie
- 101
- 2
- 16
0
votes
1 answer
Delete context-menu items from code
Is there a way to delete a default item (e.g. the "Open in a new tab" when right-clicking on an anchor element) in the context-menu of a specific html page?
If this is not possible, can you tell me how to show a custom menu, after it has been…

Bento
- 223
- 1
- 12
0
votes
2 answers
Add a function from the default Right-Click Context Menu into a custom context menu?
Is there any way to access the code for all the built-in Cell Context Menu functions?
I'm specifically looking to run the "AddComment" function from the RightClick Context Menu - but I've built a custom context menu.
What it does is not only add a…

TAKL
- 339
- 4
- 11
0
votes
1 answer
Set a ContextMenu UserControl for a Grid
I have created a custom context menu in a separate user Control Class CustomContextMenuUc.
The simple version of the code looks like this.

Carbine
- 7,849
- 4
- 30
- 54
0
votes
1 answer
Fusion charts with custom context menu
I am using Fusion charts and want to add a few custom menu on the right click(apart from the one displayed).
In the fusion charts blog, they say we cannot add our own custom menu but we can change only About menu.
Is there any work around so that i…

Sneha Patani
- 63
- 1
- 3
- 10