I would like to make a small WPF app window semi-transparent and on top of other windows.
When I change settings on the top level Window it only seems to effect the contents, not the titlebar or border.
Is this possible with WPF??
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WindowStyle and AllowsTransparency are the two properties you’ll have to change.
In order to have your window sit on top of all the other windows, you’re going to want to set Window.Topmost to True as well. To move the window, handle one of the Mouse events on the border you added then call Window.DragMove in the event handler.