Questions tagged [menu-items]

A menu item is a child element of a menu that provides the user a means to view and execute a specific application operation.

A menu item is a child element of a menu that provides the user a means to view and execute a specific application operation. A menu item may have an accelerator key which provides the user a quick way to execute the menu item operation. A menu item in turn can consist of other child menu items.

100 questions
0
votes
1 answer

Is there any way to change menu selected item from ViewModel?

I'm trying to change menu selected item from my ViewModel in my Xamarin.Forms application. How can I change that? I've bind ListView SelectedItem property to field in my ViewModel, with mode "TwoWay". Also I used BeginInvokeOnMainThread and…
Brath
  • 53
  • 1
  • 5
0
votes
1 answer

Show menulist according to user's role

I am working in angular 6, node.js and MongoDB.I need some logical explanation to this => The menu list for my application is in a database with a role field in it, where the user with that role alone can see while login. I have User and MenuList…
Viveka
  • 175
  • 2
  • 12
0
votes
2 answers

I wants to launch an activity from the same Activity using menu items

How can i launch an activity from the same activity under some condition using menu items. Eg:- I have an activity, which could be launch in two conditions based on the value boolean variable 'flag'. The value of this flag can be "true" or "false".…
Avnish
  • 81
  • 1
  • 2
  • 6
0
votes
1 answer

Confused on ActionListeners

Hello fellow coders of the night, I am stuck with a moral dilemma (well not moral, but mostly i don't know what to do). Suppose I have one button that can do several actions, depending on the menu item which is chosen. Basically, I've imagined…
Fares
  • 893
  • 1
  • 11
  • 24
0
votes
1 answer

Kendo menu subitems are not rendering from client side

I am passing kendo MenuItem as JSON from server side to client side which are having Mainmenu and SubMenu options. Mainmenu is rendering properly but SubMenu are not rendering. let me explain with code; below is my server side JSON data which i am…
Rupak
  • 61
  • 10
0
votes
3 answers

Refreshing listview in tab activity from main activity

I have a main activity with an options menu which contains a check-able item. I also have three tabs with an activity, containing a listview each. What I'm trying to do is refresh the selected tab's listview when I change the check-able item menu…
Mazinger
  • 633
  • 1
  • 6
  • 12
0
votes
1 answer

Editing specific element in Wordpress menu with nav_menu_item_id

I want to add number of items in wishlist next to li element in my "menu_main". To problem is I can't how to edit that specific element. I tried sth like add_filter( 'nav_menu_item_id', 'filter_function_name_5519', 10, 3 ); function…
0
votes
1 answer

AvalonDock Document Menu DropDown Theming Colors

I am trying to develop an AvalonDock theme that makes use of the Windows Accent Color: https://github.com/Dirkster99/AvalonDock see /source/Components/Xceed.Wpf.AvalonDock.Themes.VS2013 folder for theme The problem is that I cannot seem to find a…
user8276908
  • 1,051
  • 8
  • 20
0
votes
1 answer

containerElement doesn't work for routing with menuItem in react js

i'm new in react js and i'm trying to make routing with material-ui MenuItem . So , i'm trying to use ContainerElement but it doesn't work when i click on the MenuItem here is my code : Navig.js : import React from "react"; import ReactDOM from…
Maryem Samet
  • 133
  • 1
  • 5
  • 23
0
votes
2 answers

How can we add more items to dropdown menu from the java class

I want to create an app which would be having the capability of multiple account login. So the user would have to switch accounts from the drop down menu once there are more than one account. But I don't know how to add items to the drop down menu…
Matt
  • 464
  • 4
  • 13
0
votes
2 answers

Referencing a menu itemId in android studio

I was wondering how i reference the menu Item i have created, in my switch? Thank you in advance. MY menu Item: @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { …
Otto
  • 19
  • 8
0
votes
0 answers

Adding a static menu item when other menu items are data bound to a collection in mvvm

I've a menu item named 'Authors' whose ItemsSource is bound to an ObservableCollection called CollectionOfAuthors. Clicking on Authors opens a list of author names. For each author name, list of Books are displayed. What modifications i need to make…
DotNetSpartan
  • 931
  • 4
  • 20
  • 41
0
votes
2 answers

Get view from MenuItem which property "showAsAction" never

I use this library to show a Guide Tour. I want to implement the Spotlight into Menu Item which have property showAsAction as never. Below my snippet code : View view = getActivity().findViewById(R.id.menu_item_refresh); new…
MrX
  • 953
  • 2
  • 16
  • 42
0
votes
1 answer

WPF menus open right alinged

I have a top menu bar that has several drop down menus. Currently when you open a menu, its child menu opens aligned on the left. Is there a way I can shift that alignment to the right. I have read a few things where I could change the system…
megabytes
  • 115
  • 2
  • 13
0
votes
2 answers

Combobox that works like a menuitem in WPF

I want to have a control similar to this? Is there a way to do this using WPF. Sample Image: It is like a combobox but its comboboxitems works as menuitems. The menu item selected would be displayed in the combobox.
Dyy
  • 51
  • 7