IXamlNamespaceResolver Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a service that can return a XAML namespace that is based on its prefix as it is mapped in XAML markup.
public interface class IXamlNamespaceResolver
public interface IXamlNamespaceResolver
type IXamlNamespaceResolver = interface
Public Interface IXamlNamespaceResolver
- Derived
Type converters and markup extensions can query for IXamlNamespaceResolver as a service on the service context that is provided by a XAML object writer, when the XAML object writer invokes value conversion behavior. For more information, see Type Converters and Markup Extensions for XAML and Service Contexts Available to Type Converters and Markup Extensions.
This interface is also implemented as part of the WPF XAML implementation in the XmlnsDictionary class. XmlnsDictionary stores XAML namespace information and interacts with XAML processors to forward that information to the service context through the same IXamlTypeResolver interface.
Get |
Retrieves a XAML namespace identifier for the specified prefix string. |
Get |
Returns all the possible prefix-to-XAML namespace mappings (NamespaceDeclaration values) that are available in the active XAML schema context. |
Toode | Versioonid |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: