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?
.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>
1.4m articles
1.4m replys
5 comments
57.0k users