Localization::GetAttributes Method (Object^)
.NET Framework (current version)
Gets the value of the AttributesProperty attached property from a specified element.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: [AttachedPropertyBrowsableForTypeAttribute((Object^::typeid))] static String^ GetAttributes( Object^ element )
Parameters
- element
-
Type:
System::Object^
A Object that represents the element whose attached property you want to retrieve.
Localization attributes specify which resources are to be localized.
The following code example shows how to retrieve the localization attributes defined for a button.
.NET Framework
Available since 3.0
Available since 3.0
Show: