IXamlNameResolver.GetFixupToken Method (IEnumerable<String>, Boolean)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns an object that can correct for certain markup patterns that produce forward references.

Namespace:   System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

object GetFixupToken(
	IEnumerable<string> names,
	bool canAssignDirectly


Type: System.Collections.Generic.IEnumerable<String>

A collection of names that are possible forward references.

Type: System.Boolean

true to immediately assign the resolved name reference to the target property. false to call the user code for a reparse. The default behavior is false.

Return Value

Type: System.Object

An object that provides a token for lookup behavior to be evaluated later.

Existing internal service providers that are available in schema contexts for markup extensions and type converters implement this service; however, they return an internal type that can only be processed by the existing XAML writers that work under the default XAML schema context.

If canAssignDirectly is false, when all the forward referenced names are resolvable, the user code is called to reparse each name in the list.

.NET Framework
Available since 4.0
Return to top