WPF Use MediaElement to Play Audios

By [)ia6l0 iii

Use the Source and the LoadedBehavior properties of the MediaElement.

<MediaElement x:Name="meSongs" Volume="10" Source="E:\Sounds\BETOV.mp3" LoadedBehavior="Play">

Related FAQs

To highlight alternate rows in a XamDataGrid use the ""HighlightAlternateRecords"" property.
The Line object derives from the Shape class and is defined by the X and Y attributes (X1, Y1, X2, and Y2)
Use the CombinedGeometry class to merge two shapes in WPF
Use the SetScrollTipField method to show the column value when you scroll in the XamDataGrid.
Use the Report object to print preview the XamDataGrid
Static resources refer to the resources that are available in the resources collection of the object.
WPF Use MediaElement to Play Audios  (1799 Views)