Questions tagged [commandbar]

120 questions
15
votes
3 answers

Can't enter enter text in TextBox control inside Flyout

I want to use the CommandBar and a Flyout to build something like this. The user should click the button in the CommandBar (Flyout opens), then enter text in the TextBox and then click the button on the right of TextBox to start the search…
M.Stack
  • 187
  • 1
  • 6
7
votes
1 answer

Last ListBox Item hides behind the command Bar in windows phone 8.1 RT

Inside my xaml page, I have a dynamically generated ListBox, Textblocks and Textboxes in a Stack Panel and it also has a "Page.BottomAppBar" which consists the CommandBar at the bottom of the page. Code Edit 1 :(Provided Complete XAML UI…
Gopal
  • 1,734
  • 1
  • 14
  • 34
7
votes
1 answer

Xamarin UWP custom CommandBar

I'd like to create a custom CommandBar for the UWP part of my Xamarin project. I want to make a logo on a background color. The only way to get this, is making a visualbrush or grid, to contain both the background color and the picture. I've read…
Dennis
  • 1,528
  • 2
  • 16
  • 31
7
votes
1 answer

Is there a way to display user form in IDE instead of host app?

I created a userform in an *.xlam add-in and created a new commandbar and button in the IDE, but when I click the button, the user form is opened in Excel, and focus is forced away from the IDE. Is there a way to open the user form in the IDE…
RubberDuck
  • 11,933
  • 4
  • 50
  • 95
6
votes
2 answers

Hiding the ellipsis button (more button) in CommandBar in UWP (Windows 10)

I am using a commandbar in my project (UWP), however, I realized there is an ellipsis button in the commandbar by default. Is there any way where by I can hide/remove it? Here's my code:
thalassophile
  • 275
  • 2
  • 12
5
votes
1 answer

Context menu for an Internet Explorer toolbar

I am working on IE toolbar and I am trying to give the command to the context menu item in web browser, means I am adding an item in context menu and then I trying to give the command for that item. i am attached the snap shot of what i need,in that…
Gaurav Agrawal
  • 227
  • 3
  • 6
4
votes
0 answers

Accessing CommandBarButton.Picture property the late bound way

I try to read the information of Microsoft Access (Office) CommandBars contained in an *.mdb. I could use Microsoft.Office.Interop.Access for this; however, these PIA assemblies are tied to specific Office versions. Therefore, to be version…
Olivier Jacot-Descombes
  • 104,806
  • 13
  • 138
  • 188
4
votes
1 answer

Keyboard accelerator stops working in UWP app

I'm trying to add a keyboard accelerator to a CommandBar menu item in a UWP app. This works fine when the app starts up, but after I open the overflow menu for the first time, the accelerator stops working. This doesn't appear to happen with primary…
casablanca
  • 69,683
  • 7
  • 133
  • 150
4
votes
1 answer

How to display a SearchBox in CommandBar

I would like to add a AutoSuggestBox in the CommandBar. However the following code does not make the AutoSuggestBox stretch. I tried setting the HorizontalContentAlignment="Stretch" and HorizontalAlignment="Stretch", but it has no impact. What am I…
resp78
  • 1,414
  • 16
  • 37
4
votes
1 answer

WP 8.1 XAML: Value Does Not Fall Within The Expected Range

I've run across an annoying error in my Windows Phone 8.1 Runtime app. The error occurs where I defined my CommandBar on my page. That bar has been there almost since the creation of the app, but now the designer decided to make it an error. It…
Greg Whatley
  • 1,020
  • 1
  • 13
  • 32
4
votes
2 answers

Manipulating Application Bars in Windows Phone 8.1 XAML from Code Behind

This might be a trivial beginner question and I have found quite a bit of related information for Windows and Silverlight apps but nothing that would directly help me. I'm writing a Windows Phone 8.1/WinRT app in C# and XAML, and I would like to…
user3386180
3
votes
2 answers

Set a CommandBar "Popup" submenu icon dynamically

I'm just trying to confirm this: In Office 2003, I want to create a custom submenu--what is known in CommandBar parlance as a popup (msoControlPopup)--at runtime, and set an image for it. With a CommandBarButton, this is very straightforward Set…
downwitch
  • 1,362
  • 3
  • 19
  • 40
3
votes
1 answer

uwp commandbar always show label

Answer: Thanks to Justin XL I was able to fix my problem. I implemented the style he provided below in his answer and added, as he said, this in the App.xaml: ( I changed the height to 66 - fits better for me)
Daniel Maurer
  • 156
  • 1
  • 15
3
votes
2 answers

UWP CommandBar dynamic Size and Position

In my App, i am using a CommandBar with multiple AppBarButtons, on the top of the app. Now if i resize the window, i want that the AppBarButtons go to CommandBar.SecondaryButtons, if they does not fit anymor to the whole width of the window. As an…
andy
  • 509
  • 1
  • 8
  • 21
3
votes
0 answers

Exactly what is the 'Ctrl' argument in the click handler for a CommandBarButton?

I recently fixed worked around a very annoying issue in my code base. I have a ParentMenuItemBase abstract class from which I derive classes that essentially wrap a CommandBarPopup control, and create the child CommandBarButton objects and wire up…
Mathieu Guindon
  • 69,817
  • 8
  • 107
  • 235
1
2 3 4 5 6 7 8