XamlLanguage.Initialization Property

.NET Framework (current version)

Gets a XamlDirective for the Initialization directive from XAML.

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

public static XamlDirective Initialization { get; }

Property Value

Type: System.Xaml.XamlDirective

A XamlDirective for the Initialization directive from XAML.

This directive represents the XAML node or XAML information set representation of initialization text, where a string within an object element supplies the type construction information for the surrounding object element.

If you are looking at raw node interpretations or visualizations, Initialization is sometimes seen in string form as _Initialization (note the leading underscore) and is within the XAML language XAML namespace (as notated by a preceding Namespace node). In [MS-XAML], this concept is described under the heading x:InitializationText. See [MS-XAML] Section 5.3.3.

.NET Framework
Available since 4.0
Return to top