RibbonBase.Factory Property
Gets or sets the Ribbon factory that is associated with this RibbonBase.
Namespace: Microsoft.Office.Tools.Ribbon
Assembly: Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property Factory As RibbonFactory
Get
public RibbonFactory Factory { get; }
Property Value
Type: Microsoft.Office.Tools.Ribbon.RibbonFactory
An object that implements the RibbonFactory interface.
Remarks
You can use this property to track the Ribbon factory class that created the current instance of the RibbonBase.
.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.