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 2007 Office System Document: Lists of Control IDs.

.NET Framework Security

See Also

Reference

RibbonControlId Interface

Microsoft.Office.Tools.Ribbon Namespace