4 references to XamlDeferLoadAttribute
PresentationFramework (1)
System\Windows\TemplateContent.cs (1)
24
[
XamlDeferLoad
(typeof(TemplateContentLoader), typeof(FrameworkElement))]
System.Xaml.Tests (3)
System\Windows\Markup\XamlDeferLoadAttributeTests.cs (3)
16
var attribute = new
XamlDeferLoadAttribute
(loaderType, contentType);
26
Assert.Throws<ArgumentNullException>("loaderType", () => new
XamlDeferLoadAttribute
(null!, typeof(int)));
32
Assert.Throws<ArgumentNullException>("contentType", () => new
XamlDeferLoadAttribute
(typeof(int), null!));