Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XamlLanguage.Initialization Property

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft