Export (0) Print
Expand All

XamlType.PreferredXamlNamespace Property

.NET Framework 4.6 and 4.5

Gets the single XAML namespace that is the primary XAML namespace for this XamlType.

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

public string PreferredXamlNamespace { get; }

Property Value

Type: System.String
The identifier, as a string, of the primary XAML namespace for this XAML type.

This implementation provides the same value as calling GetXamlNamespaces and then getting the first value string from the returned enumerable set.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft