Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF MediaKit: MediaUriElement playing a streaming properly, but IsLoaded=false ==> Focus?

$
0
0

Hi,

I have a UserControl containing a WPFMediaKit:MediaUriElement, playing properly a video streaming, received from network, visible, and everything seems to be working fine.

When I wanted to add Input features: focus, mouse event, key event, ... i notice my UserControl does not receive focus. I tried with every property related to this: Focusable, FocusManager.IsFocusScope, IsHitTestVisible, with no luck.

I discovered with SNOOP my UserControl has IsLoaded=false , and maybe it is the reason for the lack of Input events. How can it be possible? How to solve this situation?

thank you

pellex


Viewing all articles
Browse latest Browse all 18858

Trending Articles