OfficeRibbon.Ribbon Property

Gets the current OfficeRibbon instance.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Ribbon As OfficeRibbon
    Get
'Usage
Dim instance As OfficeRibbon
Dim value As OfficeRibbon

value = instance.Ribbon
public override OfficeRibbon Ribbon { get; }

Property Value

Type: Microsoft.Office.Tools.Ribbon.OfficeRibbon
An OfficeRibbon that represents the Ribbon customization.

Remarks

This property returns a reference to the OfficeRibbon object at the top of the control hierarchy. If the current instance is not a derived class, but rather the OfficeRibbon object, then the Ribbon property returns a reference to itself.

.NET Framework Security

See Also

Reference

OfficeRibbon Class

OfficeRibbon Members

Microsoft.Office.Tools.Ribbon Namespace