This documentation is archived and is not being maintained.

BamlLocalizabilityResolver Class

Resolves localizable settings for classes and properties in binary XAML (BAML). 

Namespace:  System.Windows.Markup.Localizer
Assembly:  PresentationFramework (in PresentationFramework.dll)

public abstract class BamlLocalizabilityResolver
This class is abstract; see Inheritance Hierarchy for derived non-abstract classes usable in XAML.

BamlLocalizabilityResolver is used by the BamlLocalizer in order to resolve localizability settings for classes and properties in BAML. The resolver is called both at the time of resource extraction as well as when localized BAML is updated.

At the time of resource extraction (ExtractResources), the resolver:

  • Provides LocalizabilityAttribute for classes and properties in BAML when the BamlLocalizer is constructing localizable resources.

  • Provides formatting preferences for elements in BAML so elements are formatted as inline tags.

At the time at which localized BAML is updated (UpdateBaml), the resolver:

  • Resolves formatting tags back into classes.

  • Resolves the name of the assembly that contains class definition.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0