XamlLanguage.Arguments Property

.NET Framework (current version)

Gets a XamlDirective for the Arguments of a factory method or a generic usage.

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

public static XamlDirective Arguments { get; }

Property Value

Type: System.Xaml.XamlDirective

A XamlDirective for the Arguments of a factory method or generic usage.

A factory method is a XAML2009 feature for identifying an alternative technique that constructs the underlying type for a XAML type. The Arguments specify the input of a factory method and enable specifying that information in markup. The default techniques, in absence of a factory method, are to attempt to find a default constructor and then attempt to find an identified type converter for type, member, or destination type.

For the generic usage, the Arguments wrap the objects or initialization text of all construction inputs that are specified as necessary for the TypeArguments.

.NET Framework
Available since 4.0
Return to top