Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As OfficeRibbon
Dim value As OfficeRibbon
value = instance.Ribbon
public override OfficeRibbon Ribbon { get; }
public:
virtual property OfficeRibbon^ Ribbon {
OfficeRibbon^ get () override;
}
public override function get Ribbon () : OfficeRibbon
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.