Compartir a través de


RibbonComponent.Name Property

Definition

Gets or sets the name of this RibbonComponent.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

A string that contains the name of this RibbonComponent.

Remarks

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.

Applies to