Programming Ribbons
The ribbon interface was introduced in SharePoint 2010 and is an important element of the user interface. Most of the commands in SharePoint 2010 are available through the ribbons. The ribbons are context sensitive—that is, they change according to the current user interface area. For example, when you edit the page and select an existing web part on the page, the ribbon menu changes to show commands related to the web part as shown in Figure 6.2.
![Image](/api/v2/epubs/9780132895644/files/graphics/06fig02.jpg)
Figure 6.2. Options tab in the ribbon for a web part
Customizing a ribbon is also done through CustomActions
. For ribbons the Location
attribute of the CustomAction
element has to ...
Get Sams Teach Yourself SharePoint® 2010 Development in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.