Questions tagged [ribbon]

A ribbon is an interface wherein a set of toolbars are organized using tabs. Don't use this tag for questions related to the Netflix Ribbon component, use [netflix-ribbon] instead.

A ribbon is a GUI that uses tabs of graphical controls as the main interface, in a similar way to Microsoft Office.

Some specific APIs have dedicated tags which are more appropriate, e.g. . When possible, use those instead.

Use this tag for questions related to Microsoft Office, WPF, and other similar GUIs that do not have specialized tags.

1674 questions
13
votes
3 answers

How can I add the images to button using the ribbon xml?

How to add the custom images to the ribbon button in the tab and the context menu. I tried the link Adding Image to ribbon button but no luck :-(. I am designing the addin for Excel. I added this in the header.
roopini n
  • 503
  • 2
  • 7
  • 29
12
votes
1 answer

Dynamically changes ribbon's button label Excel

I am using the following piece of XML code to create a custom Ribbon for an Excel add-in.
Ihidan
  • 419
  • 1
  • 6
  • 20
12
votes
4 answers

Is it possible to disable the Application Menu on the Ribbon Control? (WPF)

Is there a way to disable to Application Menu, the circle thing on the left hand corner, so the user can't click on it? I have absolutely no use on that, and cannot think of anything I can use that, I can't find any options to disable it. Please…
PlayKid
  • 1,345
  • 5
  • 20
  • 33
11
votes
6 answers

Excel Hide/Show all tabs on Ribbon except custom tab

How can I hide and show all the standard Excel ribbon tabs using VBA (not XML). I do not want to hide the whole ribbon (as is asked here: VBA minimize ribbon in Excel) just the tabs. I know how to use startFromScratch using XML so please do not…
Brett
  • 3,296
  • 5
  • 29
  • 45
11
votes
3 answers

How to customize the WPF Ribbon 4.5 (styles, templates, etc.)

I try to customize System.Windows.Controls.Ribbon from the .Net Framework 4.5 so it can be used with the Expression Dark theme (dark colors like in default theme of the Blend). I've tried following ideas, but until now without any progress: change…
Alexander Zwitbaum
  • 4,776
  • 4
  • 48
  • 55
11
votes
4 answers

How to add a button to a pre-existing tab on ribbon (C#)?

I've successfully created a new tab and put it next to the pre-existing ones. Then I realized that I'll only have one button on it, so it makes more sense (for now) to put it on the Home tab. Didn't really get that to work though. I've tried to…
user1675891
10
votes
1 answer

Custom Ribbon onAction syntax question

I followed the directions here to create a custom ribbon for an Access application. But none of the buttons worked! I kept getting an error that stated Access couldn't find the function or macro, even though it was public and in a standard…
jeremiahs
  • 3,985
  • 8
  • 25
  • 30
10
votes
3 answers

WPF Ribbon Tab view in Designer

I'm using "Microsoft Ribbon for WPF" and creating multiple RibbonTab. I cannot figure out a way to view/focus different tabs in the designer and it by default show the "Home" tab. To see design/xaml changes I made to tabs other than the "Home" tab,…
KMC
  • 19,548
  • 58
  • 164
  • 253
10
votes
6 answers

Vertical separator in WPF Ribbon

How can I add Vertical separator to WPF Ribbon, to RibbonGroup? I have tried something like that, but i got horizontal separator istead of vertical.
Marta
  • 2,857
  • 13
  • 46
  • 67
10
votes
3 answers

Windows Ribbon Framework: How to change font face and size?

How do you change the font face and font size used by the Windows Ribbon Framwork's UIRibbon? The font used by the ribbon does not match the font the user has chosen as their Windows preferences - which is the preference my application uses. This…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
10
votes
4 answers

WPF ribbon, change main content when ribbontab is selected

I would like to change the content of the main surface (the stuff below the ribbon itself)in a WPF application when a ribbon tab is clicked. I'm using the office ribbon, not that is matters much. So which WPF container control should I use, and how…
Klaus Byskov Pedersen
  • 117,245
  • 29
  • 183
  • 222
9
votes
0 answers

Detecting Quick Access command state

We have an application that is using Windows Ribbon Framework for an UI. The app itself is written in Delphi and uses Windows Ribbon Framework for Delphi to interface with the ribbon API. Our ribbon XML places few commands into the Quick Access…
gabr
  • 26,580
  • 9
  • 75
  • 141
9
votes
3 answers

WPF Ribbon - hiding tab header (single tab application)

I am new to WPF and am trying to use the Ribbon control. I have a single tab in the application, and wish to hide the header but still show the tab itself. I have been experimenting with various properties and styles, but I have only been able to…
SeeMoreGain
  • 1,263
  • 16
  • 36
9
votes
2 answers

Ribbon binding failures when used within a regular Window (not a RibbonWindow)

I'm using a Ribbon control from RibbonControlLibrary for .net 3.5. I can't use RibbonWindow for some presentation-compatibility issues. So I place a Ribbon control inside Window. There are no visible issues, but I'm getting 2 error messages in my…
Teaman
  • 177
  • 6
9
votes
2 answers

WPF Ribbon: Maximized window going off screen

I'm using the System.Windows.Controls.Ribbon library for my application. Everything is working really nice, except when I maximize the window it starts to go off screen. I also noticed that with other WPF applications but when you use a RibbonWindow…
Staeff
  • 4,994
  • 6
  • 34
  • 58