How to revert the transparent window of WPF.

Sunil A M 131 Reputation points
2022-08-12T14:43:22.7+00:00

HI Team,

I have used a below technique to create a transparent(click thru) window in WPF.
https://stackoverflow.com/questions/2842667/how-to-create-a-semi-transparent-window-in-wpf-that-allows-mouse-events-to-pass

Could you please tell me how to revert the above functionality on some event(on the fly).
(Need code to Revert the transparent window to normal window on some event).

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,292 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,626 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
608 questions
No comments
{count} votes

0 additional answers

Sort by: Most helpful