RibbonBase.Name Property

Gets or sets the name of 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 Property Name As String
    Get
    Set
public string Name { get; set; }

Property Value

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

Remarks

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

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

.NET Framework Security

See Also

Reference

RibbonBase Class

Microsoft.Office.Tools.Ribbon Namespace