共用方式為


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
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

See Also

Reference

RibbonBase Class

Microsoft.Office.Tools.Ribbon Namespace