How do I set the office 2007 style with Infragistics? - c#

I have been looking to set the office 2007 form style using infragistics, but just cant find the code lines i need (which I suspect are very few!)
Does anyone have the code I need or a link to a tutorial? Looking on the infragistics site the samples seem few (or I just cant find them).

Finally worked it out:
Add a UltraToolbarsManager
Turn the Ribbon Subobject Visible Property to TRUE
Your app switches entire form style to Office 2007.

Related

How to get rid of unwanted tooltips in Excel 2013 addin ribbon

I have written an Excel VSTO Addin with C# that is compatible with Excel 2013 as well as Excel 2016/365.
In Excel 2013, I see a tooltip window for every ribbon button, that contains my addin's name and a link to more information, which simply opens a help topic about addins.
I don't want either. If I add a "ScreenTip" or a "SuperTip" to my ribbon buttons, they will be added on top of this unwanted tooltip, but they don't replace it.
Excel 2016 does not show such tooltips.
How can I get rid of them? I only want my own ScreenTips and SuperTips
Since I am using the VS Ribbon designer, I have no, and don't want to have, access to the underlying ribbon XML.
You can't get rid of them, that part is controlled by Microsoft. Assumedly it was part of Microsoft's goal of helping to inform users that a control is not a Standard Office control, so that when it breaks, they don't blame MS for it, but instead recognize the identifier listed there and then seek support from whoever made the Add-In.

Include windows office 2010 ribbon bar for C# application

I just needed to include windows office 2010 Ribbon bar into my C# application(Not WPF)..
So i search it on a internet but i cant find any solution...
I need a free solution for creating this ribbon bar...
Thank you..
You could also try the one offered by componentfactory.com.
You can use devcomponents-dotnetbar ribben control.
Just google on dotnetbar ribben control.
Have you considered using this one?
http://www.codeproject.com/Articles/25907/A-Professional-Ribbon-You-Will-Use-Now-with-orb

How do I customize Word 2010 ribbon only on demand in a VSTO4 add-in?

I am currently diving into VSTO add-in development and ribbon customization for Word 2010. This works fine, but has a drawback: The ribbon customization should take place for only certain documents, but the IRibbonExtensibility.GetCustomUI() method is obviously called on application startup before any document is loaded. How can I accomplish this requirement?
You're right that it's only called once. About your only choice (and what's worked for me reasonably well), is to define EVERYTHING in your ribbon up front, then set the VISIBLE property to false or true as applicable depending on what doc is loaded, or whatever else is happening in your addin.
#drventure is right, you have to define your ribbon up front, then show/hide different buttons on the ribbon.
What might help you though is some of the features in a project I have been working on, VSTO Contrib, it allows you to create a ViewModel, which will be created for each open document, and it will discover and wire up the ribbon xml by convention.
In your case this would mean you can bind the ribbon buttons visibility to a property on the viewmodel, and you don't have to worry about keeping the window/documents syncronised. Have a read of http://jake.ginnivan.net/vsto-contrib/ribbon-factory and see if it will help you solve your problem with a heap less code =)

How to programmatically add a RibbonTab to WPF Ribbon (October 2010 release)?

Does anybody know a way to programatically add a RibbonTab to a Mircosoft WPF Ribbon? I can't find an example or at least a property to use in neither documentation nor Ribbon's intellisense.
I found many entries all over the web suggesting something like: ribbon.Tabs.Add(...)
Unfortunately "Tabs" doesn't exist in the Ribbon class at all?! Was there an API change I can't find anything about or what's the trick?
The Microsoft WPF Ribbon inherits from Selector, which inherits from ItemsControl. With that in mind, to add a tab programmatically, you would use the Items property to add the new RibbonTab object.
For example,
Ribbon.Items.Add(new RibbonTab())
I haven't used the Microsoft WPF Ribbon much so I'm afraid I don't know, but I can however recommend the Microsoft Fluent Ribbon; I've had a lot more success implementing it, and found it significantly more flexible and intuitive...it's on the codeplex site if it's something you're interested in (presuming you haven't gotten too deep using the MS WPF Ribbon) - fluent.codeplex.com
Hope it helps,
Aj

How to add 'quick steps' style control to Outlook 2010 Ribbon?

As part of my Outlook Addin I would like to add a control to the Ribbon which has the same format as the 'Home\Quick Steps' and 'View\Arrangement' controls. Does anyone know if these can be created by Addins?
These are variation of the in-ribbon gallery, you are currently not able to build ones yourself, you can only do drop down galleries. I believe that it has been request by alot of devs.
Marcus

Categories