Questions tagged [commandbar]

120 questions
2
votes
1 answer

Showing caption for CommandBar button with Excel VBA

I'm trying to add a button to a new CommandBar (for the Add-in tab) with Excel VBA. I can get the button into the ribbon and can get an image to show up for it if I use a FaceId, but I can't get the Caption to appear. Is there some way to do this?…
notnot
  • 4,472
  • 12
  • 46
  • 57
2
votes
1 answer

UWP CommandBar back and forward button not showing

I am developing a UWP application. I want to have a command bar with a back and forward button to help users navigate back and fore. However, the UI did not turn out what I am trying to achieve. This is what I am trying to achieve: This is how my…
thalassophile
  • 275
  • 2
  • 12
2
votes
1 answer

what is the Event for 3 dots getting clicked in CommandBar in UWP Apps?

Context building: I have been developing UWP app (C# & XAML) in which I am using a commandbar for displaying some options at the bottom of the page. I am using Primary as well as SecondaryCommands in the commandBar. What I need: We have 3 dots at…
hellodear
  • 226
  • 1
  • 2
  • 16
2
votes
1 answer

UWP Changing style of AppBarButton breaks the dynamic overflow's automatic styling

Trying to use the new IsDynamicOverflowEnabled property on the CommandBar and I've run into a styling issue with the Overflow. Issue is as follows, when the AppBarButton's Style is not overridden and drops off to the Overflow area, the highlight of…
jsmyth886
  • 531
  • 7
  • 15
2
votes
1 answer

Splitview Pane & Page CommandBar & Keyboard overlaps each other

When I use SplitView and CommandBar, I put CommandBar in Page.BottomAppBar, but the CommandBar overlaps SplitView Pane. So I move the CommandBar to the page's content(Like: Page command bar overlaps Splitview Pane). It's working. But it take a new…
Laban Liao
  • 19
  • 6
2
votes
0 answers

UWP CommandBar as resource

I got a CommandBar i'd like to use for all my pages within the app. When creating a new command bar using the 'New' button in the properties window and converting the new value to a resource using 'Convert to New Resource' (the resource is placed in…
Streamline
  • 952
  • 1
  • 15
  • 23
2
votes
1 answer

windowsphone 8.1 commandbar

Now I'm making Windows Phone 8.1 app with VS2015 and C# and XAML. And Want to know about Commandbar. I only use Secondary commandbar. So, I want to compress primary's space, When Commandbar pop up. but I can't solve this problem. Ideal Image,…
j.pn
  • 61
  • 3
2
votes
2 answers

How do I create a toolbar in an XLA document?

How do I create a toolbar for Excel using an XLA document?
Jason
  • 16,739
  • 23
  • 87
  • 137
2
votes
1 answer

Why can't I edit a commandbar control in Excel 2013 with VBA?

I'm trying to make my own drill-through action for PivotTable by means of VBA. The action will be called from context menu of a PivotTable from Additional Actions. I want to put my button under Additional Actions control of PivotTable Context Menu…
Oleksandr
  • 292
  • 1
  • 4
  • 15
2
votes
2 answers

Adding an AppBar by Code (Windows 8.1, C#)

In my scenario I want to write a BasePage for all my Windows 8.1 App Pages. In this BasePage there should be a creation of a TopAppBar. Actually I have: public CommandBar TopCommandBar { get { // Check if a TopAppBar exists …
Martin
  • 3,096
  • 1
  • 26
  • 46
1
vote
1 answer

How to make a Excel CommandBarButton Invisible on create?

I have an Excel Add-In that has 2 buttons, the second of which I would like to be hidden when the Add-in is loaded. Here is my code: public void OnStartupComplete(ref System.Array custom) { object omissing = System.Reflection.Missing.Value; …
Tizz
  • 820
  • 1
  • 15
  • 31
1
vote
2 answers

Trying to get Application.CommandBars("cell").Controls("New Comment").Enabled = False to work

I'm trying to deactivate some of the options on the right click of the mouse button in Excel. I've got a lot of them to work but for some reason "New Comment", "New Note" and "Format Cells..." don't seem to work with the…
1
vote
1 answer

Excel VBA - Unable to change width of docked "Queries & Connections"

I'm trying to programmatically open "Queries & Connections" CommandBar. It's by default docked to the right (msoBarRight) However, just setting .Visible = True opens it too narrow. I tried to fix that by setting .Width but it just ignores it... No…
Ali
  • 45
  • 6
1
vote
1 answer

UWP CommandBar moves vertically when IsOpen changes

I have come across a layout / template problem with CommandBar of which symptoms are seen in several pages: UWP - CommandBar blank space under Buttons https://github.com/microsoft/microsoft-ui-xaml/issues/1024 It seems that the UWP CommandBar…
hansmbakker
  • 1,108
  • 14
  • 29
1
vote
1 answer

"No installed components were detected" error on toggling AppBarButton visibility with Visual States

In my UWP application, I am having a CommandBar with few AppBarButtons whose visibility I am toggling using Visual State. Whenever I apply any Visual State as VisualStateManager.GoToState(this, nameof(State1), false); I get the following error: No…
Preethi
  • 55
  • 1
  • 5