Localization::GetAttributes Method (Object^)

 

Gets the value of the AttributesProperty attached property from a specified element.

Namespace:   System.Windows
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.

Return Value

Type: System::String^

A String value that represents the localization attribute.

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
Return to top
Show: