RibbonTab

Represents a Tab control in the SharePoint Server Ribbon.
SharePoint 2010 Ribbon Tab

Inheritance Hierarchy


Assembly: QASPRibbon.dll
Namespace: QASPRibbon.Controls

Properties

Property Type Description
Id String A string that identifies the tab, such as "RibbonTab". (Inherited from RibbonElement)
Title String A string value representing the tab's label. (Inherited from RibbonElement)
Sequence Int32 An integer that specifies the order of placement among sibling XML nodes.
CssClass String The name of the CSS class (such as "ms-browseTab") to apply when the tab is rendered.
Groups IEnumerable<RibbonGroup> Collection of groups.
OnClientActivate String Javascript code that executes when a Tab is activated.

Constructors

public RibbonTab()

public RibbonTab(string id)

public RibbonTab(string id, string title)

Example

The following example defines a tab.
var simpleTab = new RibbonTab("Tab", "Tab")
                    {
                        CssClass="qa-ribbon-tab"
                    };

See also




Last edited Dec 20, 2012 at 7:22 AM by VitalyZhukov, version 2

Comments

No comments yet.