LibVLCSharp.WPF VideoView data binding property MediaPlayer to viewmodel
Posted: 29 Aug 2019 10:59
Hi there
I have a LibVLCSharp.WPF.VideoView control on my WPF view page like
Is there a way to data bind the MediaPlayer property of the VideoView control to my page's ViewModel?
In fact, I only want to access the MediaPlayer.Hwnd property and would like to explore a way of getting it done in page's ViewModel, instead of in page's code-behind file.
I have a LibVLCSharp.WPF.VideoView control on my WPF view page like
Code: Select all
<UserControl>
<Grid>
<LibVLCSharp.WPF.VideoView />
</Grid>
</UserControl>
In fact, I only want to access the MediaPlayer.Hwnd property and would like to explore a way of getting it done in page's ViewModel, instead of in page's code-behind file.