RibbonBase.Tag Property

 

Gets or sets application-specific data 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)

public object Tag { get; set; }

Property Value

Type: System.Object

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

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.

Return to top
Show: