Equivalency to TransparencyKey in WPF?

  • Thread starter Thread starter bradygaster
  • Start date Start date
B

bradygaster

When using a windows forms approach I can accomplish my goal - a
portion of a window completely transparent so that it appears as
though there is a "hole" in the application - I can do so in the
following manner:

1 - Create Window, put Panel control on Window
2 - Set Window's TransparencyKey property to Pink
3 - Set Panel's background color to Pink

This creates a see-through, "screen capture"-like look.

There is, however, no TransparencyKey property on a WPF window. Is it
possible to do this sort of thing in WPF?

(I guess I could host a Windows Forms custom UserControl that does
such a thing within a WPF window, but that seems a wee bit hoakie)

Any advice appreciated!
 
Back
Top