Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Why it is slow to load a Addin UI in WPF+MAF

$
0
0

why it is slow to create a new WPF Control in this example?

Is there any way to speed it up?

The related code is under that page.
From Line 1 to Line 3 takes about 1-2 second.

1. this.wpfAddInHostView = wpfAddInToken.Activate<IWPFAddInHostView>(AddInSecurityLevel.Internet);// Get and display add-in UI
2. FrameworkElement addInUI = this.wpfAddInHostView.GetAddInUI();3. this.addInUIHostGrid.Children.Add(addInUI);

How to: Create an Add-In That Returns a UI

Thanks


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>