Calling a parameterized constructor from XAML

wpf, xaml

Solution

.NET 4.0 brings a new feature that challenges the answer - but apparently only for UWP applications (not WPF).

x:Arguments Directive

<object ...>
    <x:Arguments>
        oneOrMoreObjectElements
    </x:Arguments>
</object>

Problem

While using WPF I noticed that when I add a control to a XAML file, the default constructor is called. Is there a way to call a parameterized constructor?

Original source

Related problems