Hi,
I'm afraid it is hard to do with Winform itself. Need to draw semi-transparent border by yourself.
The Winform style you provided in picture is Aero style.
It was used in Win7 by default and has been deprecated.
Since you're drawing the non-client area, this requires the DWM api.
Currently DwmSetWindowAttribute DWMWA_BORDER_COLOR does not support ARGB.
Beginning with Windows 8, calling this function doesn't result in the blur effect, due to a style change in the way windows are rendered.
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.