Share via


RibbonControlId.OfficeId Property

Gets or sets an identifier for a Microsoft Office control.

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

Syntax

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

Property Value

Type: System.String
A string that contains an identifier for an Office control.

Remarks

For a list of valid Office IDs, see Office 2010 Help Files: Office Fluent User Interface Control Identifiers.

.NET Framework Security

See Also

Reference

RibbonControlId Interface

Microsoft.Office.Tools.Ribbon Namespace