Im trying to make a small screenshot program, im making a small WPF window with a border. This should function as a “Viewport” so everything inside the window (within the border) should be screenshottet. How ever when i set the transparency of the window to 0 then i cant see my border. Any ideas on how to make my grid fully transparent, and still preserve a 2 px black border around it?
Share
Not sure if you want the window or just the grid transparent with border.
That draws a border around the window:
This is drawing a broder around the grid only: