0

I found that The background of the WPF button can be transparent, but the Window Form button can't. I have tried many methods which I found but it doesn't work. However, is it possible to make a WPF button in a Windows Form?

1 Answer 1

1

It is possible to use WPF-Elements in Windows-Forms-Applications. Add a reference to WindowsFormsIntegration.dll in your project, which enables you to use ElementHost. Then you can create a WPFControlLibrary containing your transparent button and use in the ElementHost in the Form.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.