NamespaceDeclaration.Prefix Property

.NET Framework (current version)

Gets the prefix that is used as the XAML namespace mapping prefix for a NamespaceDeclaration.

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

public string Prefix { get; }

Property Value

Type: System.String

The prefix string for this NamespaceDeclaration.

A namespace declaration may have a String.Empty value for the prefix. A String.Empty prefix represents a declaration of the default XAML namespace.

.NET Framework
Available since 4.0
Return to top