0
votes

Few weeks ago, I took over the development of the Outlook VSTO add-in. The entire view is designed in WPF. Since Office has been updated from 2013 to 2016 they have appeared some troubles with pasting text into a textbox. I have a button on the Outlook's ribbon in writing email mode, which one display my custom window with two textboxes. When I am focusing on one of textboxes, I can typing there whatever I want. The problem is in case I am trying to paste text. The copied text is pasted into a "To" field in the window in background, even if I am focused on my textbox in my window from my add-in.

Do you know anything about similar problems after Office upgrade?

1

1 Answers

0
votes

I'd suggest using Windows Forms controls for Office add-ins. Various issues remain in all Office and .NET Framework versions caused by a partial incompatibility of the WPF core and Office GUI.

Or you just may consider customizing the Fluent UI (aka Ribbon UI). Read more about the UI in the following series of articles: