Fluent Ribbon API 1.4 has just been released!
Ribbon is a central SharePoint 2010 feature, but for developer it is not so handy, as for a user.
This project aims to provide fluent API for Ribbon creation and managing in SharePoint 2010.
With Fluent Ribbon API, you are able to create your SharePoint Ribbon from code in a handy way, without single line of XML!
This project contains following main features:
- ContextualWebpart - base class for webparts with contextual ribbon tabs
- RibbonLayoutsPage - base class for Application Pages with ribbon
- RibbonControl - base class for controls with ribbon
- RibbonCustomAction - alternative way for ribbon custom action provisioning
To receive the project news, you can either follow the project here on CodePlex, or
follow the author on Twitter.
Getting started with Fluent Ribbon API
Here is a little how-to on using FluentRibbon project in your custom ribbon projects.
- Add reference to FluentRibbon.dll from your SharePoint project
- Include FluentRibbon.dll in Package.package for GAC deploying ('Advanced' tab).
- Inherit either your webpart class or Application Page code behind class from corresponding FluentRibbon classes.
- Override ribbon definition method (GetContextualGroupDefinition or
GetTabDefinition), and provide ribbon definition to FluentRibbon.
Definition classes are well-documented, so you'll get intellisense and summary notes on each property.
Please, visit project documentation site, which contains lots of samples, screenshots, MSDN-style API reference, and several articles about SharePoint Fluent Ribbon API.
Also, you can find many rather complex sample projects on the Source Tab.
How to contribute
Any contributions are welcome!
Also, you can
tweet about Fluent Ribbon API project.