# [WPF] No preview when AllowsTransparency is True

Video Capture SDK .Net , Video Edit SDK .Net , Media Player SDK .Net

If you are using WPF and have set the AllowsTransparency property of the application window to True you may see a black screen instead of video in the VideoView element.

To solve this problem, set the video renderer to VideoRendererMode.WPF_WinUI_Callback instead of VideoRendererMode.EVR.

# Required redists

  • SDK redist

Visit our GitHub page to get more code samples.