c# - How to Use WPF Controls Inside an Excel Actions Pane? -


Explaining the way to add WinForms control to Excel, there are several resources, both of which See:

Both of them have mentioned more up-to-date options for using WPF controls (One should i). Unfortunately, the lack of fundamental share in both resources is a missing link:

(1) The Microsoft site has mentioned some videos - with the exact title matching my needs- but that web It seems that all the videos on the site have been deleted.

Enter image details here

(2) Clear- Lines are an outstanding, step-by-step project in the site but alas, when the important part is mentioned, the author uses some feature ("WPB Interoperability section of the toolbox"), which is VS-2010 + +

does not exist Enter image details here

Screenshot given above And on the basis of other sites, I have come here That missing link Krsh, the relationship between its presence in my WPF UserControl and Excel is some ElementHost .

See the toolbox below for the supplement for @HighCore:

Image Details Here Enter

Respected self:

Your problem is that you Trying to put WPF controls inside another WPF control .

You need to create an old WinForm Control and use the tool box shown in the next one here:

Enter image details here

Note that the section ElementHost Task is renamed Given is WPF interoperability but this is otherwise too alive.

From MSDN Magazine:

here Enter image details

Comments

Popular posts from this blog

java - Joda Time Interval Not returning what I expect -

Member with no value in F# -

javascript - Render HTML after each iteration in loop -