i tried the MediaUriElement of the wpfmediakit it's really great but when i try to add the player to the listbox as a item it is showing blank.
MediaUriElement playe = new MediaUriElement ();
playe.Source = new Uri(PathFile);
playe.Height = 18;
playe.Width = 320;
i tried to add the Element in xaml it is playing good but i don't know why it is not playing when i tried through the code behind.
<ListBox x:Name="menu" Height="110" Margin="240,23,71,0" VerticalAlignment="Top">