Hello,
From the description above, I understand that your question is about Windows Presentation Foundation.
As there are no engineers dedicated to this topic in this forum. To obtain a prompt and efficacious resolution of your issue, I suggest posing your inquiry once more within the dedicated Q&A forum.
Here is the link: Questions - Microsoft Q&A
Click the "Ask a Question" button in the upper right corner to ask a question, then select the tag below.
Regards