RibbonBase.Tag Property

Definition

Gets or sets application-specific data that is associated with this RibbonBase.

public:
 property System::Object ^ Tag { System::Object ^ get(); void set(System::Object ^ value); };
public object Tag { get; set; }
member this.Tag : obj with get, set
Public Property Tag As Object

Property Value

An System.Object that represents application-specific data that is associated with this RibbonBase.

Remarks

Any type derived from the System.Object class can be assigned to this property. However, if you set the Tag property in the Visual Studio Properties window, you can only assign text.

Applies to