Gets or sets an arbitrary object value that can be used to store custom information about this object.
Assembly: System.Windows (in System.Windows.dll)
<frameworkElement> <frameworkElement.Tag> object* </frameworkElement.Tag> </frameworkElement>
Property ValueType: System.Object
The intended value. This property has no default value.
Dependency property identifier field: TagProperty
This property is similar to Tag properties in other programming models. is intended to provide a preexisting property location where you can store some basic custom information about any FrameworkElement without requiring you to derive from FrameworkElement or an intermediate class.
Because this property takes an object, a property element usage is required to set the property in XAML to anything other than an object with a type converter, such as a string. Objects used in this manner are typically not within the standard Silverlight XAML namespaces and therefore may require mapping an external namespace in order to be introduced as XAML object elements.