RibbonPosition.OfficeId Property

Gets the ID of the built-in Ribbon control, group, or tab that the current RibbonPosition uses to define a relative location for another control, group, or tab.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
ReadOnly Property OfficeId As String
string OfficeId { get; }

Property Value

Type: System.String
The ID of a built-in Ribbon control, group, or tab.

Remarks

The ID is a name that uniquely identifies a control, group, or tab that is built into a Microsoft Office application. For a list of IDs, see the Microsoft Download Center Web page Office 2010 Help Files: Office Fluent User Interface Control Identifiers.

.NET Framework Security

See Also

Reference

RibbonPosition Interface

Microsoft.Office.Tools.Ribbon Namespace