user438629
user438629

Reputation: 95

Use XAML DeferLoadStrategy="Lazy" in Desktop App (not UWP)

What is required to use x:DeferLoadStrategry="Lazy" in XAML? All the documentation just mentions it as being "new to Windows 10" but I haven't been able to get it to work in my WPF Desktop application.

When I attempt to use the attribute I get the message "The attribute DeferLoadStrategy from the XAML namespace is not defined." Is this attribute only available to UWP apps (not desktop apps)?

Upvotes: 3

Views: 1311

Answers (1)

mm8
mm8

Reputation: 169190

x:DeferLoadStrategy is not available in WPF. It is a UWP feature only.

Upvotes: 7

Related Questions