We know that in WPF you can control transparency by setting the "Opacity" property of a form or control. However, to make the entire form transparent, the light setting "Opacity" is not enough, and it needs to be defined in the XAML code of the WPF form or page as follows:
<Window x:class = " BarCodeSystem.TechRoute.TechRoute.TechRouteCheckPerson_Window " xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x =" Http://schemas.microsoft.com/winfx/2006/xaml " Span class= "Hljs-attribute" >xmlns:extool = "http://schemas.xceed.com/wpf/xaml/ Toolkit " allowstransparency = "True" ":
With allowstransparency= "True", and with the "Opacity" attribute, you can achieve the translucency of the entire form.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
How WPF implements form transparency--opacity