视觉内容
原文:Get Window s visual content
原文:Get Window s visual content
I currently have this line of code which I want to work in all cases: var visualWindowContent = (UIElement)window.Content; This approach will work when Window.Content is a UIElement. But what about ...