Questions tagged [commandbar]
120 questions
1
vote
1 answer
Horizontal Alignment AppBarButton - XAML
I need to alignment "Button1" on left, and "Button2" on right, in my CommandBar.
I try put in code " HorizontalAlignment="Left" " in "Button1" but this not alignment in left. Always stay on right alignment.
My code is:

fipcurren88
- 701
- 5
- 26
1
vote
1 answer
How to get user input on click of a CommandBarControl item
I have a CommandBarControl and on the click of this control, I want to get a number as user input.
private void oControlHandler_Click(object CommandBarControl, ref bool Handled, ref bool CancelDefault)
{
//get a number as user input
//do some work…

KatariaA
- 752
- 1
- 7
- 22
1
vote
0 answers
Excel 2013 VBA CommandBar dropdown empty
I have a problem with an old Excel add-in using an xla file with some VBA code and user interface via forms, and a dll that handles communication to a server. The add-in downloads data and inserts it into the active Excel sheet. This application was…

Lars Örtegren
- 11
- 2
1
vote
1 answer
I cannot apply a custom style for an AppBarButton inside a CommandBar in WP 8.1
I have a very specific question. I could not find any answers for this exact problem, so I used the trial and error method to pinpoint the problem. Here is an example code I have the problem with:

AhogeExcel
- 13
- 2
1
vote
1 answer
Commandbar in Windows Phone 8.1
Ho to make Secondary Commands in C# in windows phone 8.1 (winprt) app?
//WINRT:
CommandBar CommandBarObject = new CommandBar();
AppBarButton FirstBtn = new AppBarButton() { Icon = new BitmapIcon() { UriSource = new…

Atif Shabeer
- 553
- 6
- 18
1
vote
2 answers
textbox under commandbar of windows phone 8.1
Is it possible to add/include a textbox under commandbar of windows phone 8.1 app as present in Internet Explorer 10..

bhavan somanna
- 25
- 1
- 2
1
vote
1 answer
AppBarToggleButton - False Check Issue
I have an issue with AppBarToggleButton.
When the user touch it and drag the finger outside the button and release it, the button stays in the "Pressed" visual state, so it appears that the button has been checked, but it doesn't fires any event, it…

Marlon Santos
- 29
- 4
1
vote
1 answer
Add Custom Tool to Windows Command Bar With Dynamic Verb
How can I create a Windows Explorer command bar tool that takes a dynamic
string?
I already know how to add my tool to the command bar and execute the command on click.
But I need a toolbar like the second one after Organize.
I need that when I…

Gmadlobt Gadasarevad
- 13
- 2
1
vote
2 answers
WP8.1 commandbar (appbar) issticky issue
I would like to create a commandbar (former appbar) that is not getting closed when the user presses one of the primary command buttons. When i got it right, the "issticky"-property should make this behavior possible.
My XAML…

formatC
- 83
- 6
1
vote
1 answer
Embed CommandBar into Form
I'm not sure if this is at all possible, but I'd like to be able to 'embed' a CommandBar into an Access 2003 Form.
I'd like to do this because the nature of my application is such that its forms are 'floating' so it doesn't look like it was…

Jiminy Cricket
- 1,377
- 2
- 15
- 24
1
vote
1 answer
Using CommandBar to customize ribbon in COM-Addin
I am trying to add a button to the ribbon using CommandBars, but I can't find any example or a way to do that.
I cannot use the CustomUI XML because I need to change the visibility of the button, and it is not supported by the CustomUI XML.
I have…

TCS
- 5,790
- 5
- 54
- 86
1
vote
1 answer
Dock TaskPanes right using VBA for Word 07?
I have little experience in VBA, and am trying to make some minor adjustments to Word's default load settings.
When a user creates a document, I need the Styles Formatting Pane to open (I got this working fine), but I also need it to be docked on…

Timmah
- 1,283
- 2
- 10
- 26
1
vote
1 answer
Outlook Addin - CommandBar Issue in Outlook 2013
I have Outlook Addin Developed in visual Studio 2003. its using CommandBar for adding Addin Tab and menu for my Addin. it is working properly till Outlook 2010,but its not running in Outlook 2013, due to CommandBar issues.
I have debuged the Addin…

Hafeez Liaquat
- 5
- 5
1
vote
1 answer
How to get the "Data Validation" CommandBarButton object?
I need to hide the Data Validation button when user switch to particular sheet, but I cannot locate this button in Application.CommandBars.
I have tried to loop out all the CommandBar object and its control name but still not found, has anyone tried…

calendarw
- 1,511
- 2
- 9
- 18
1
vote
3 answers
Access VBA CommandBarButton.OnAction doesn't work
I'm trying to create my own toolbar button (commandbarbutton) in Access VBA Editor. Its a button to run a procedure in a public module called "RunTests". I made the button like so:
Public Sub CreateToolbar()
Dim cmdBar As CommandBar
Dim…

Daniel Olsen
- 1,020
- 2
- 15
- 27