Export (0) Print
Expand All

RibbonComponent.Name Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the name of this RibbonComponent.

Namespace:  Microsoft.Office.Tools.Ribbon
Assemblies:   Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

string Name { get; set; }

Property Value

Type: System.String
A string that contains the name of this RibbonComponent.

The name of a control shows up in the Properties window. It is the ID that Microsoft Office uses to identify this RibbonComponent, and it is the name of the instance of this RibbonComponent in your code.

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

© 2014 Microsoft