Edit

Share via


NamespaceDeclaration.Prefix Property

Definition

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

public string Prefix { get; }

Property Value

The prefix string for this NamespaceDeclaration.

Remarks

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

Applies to

Product Versions
.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, 10