mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-08 07:56:07 +02:00
Initial WPF content migrated (#17)
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
---
|
||||
title: "How to: Repeat Media Playback"
|
||||
ms.date: "03/30/2017"
|
||||
helpviewer_keywords:
|
||||
- "media [WPF], repeating playback"
|
||||
- "repeating media playback [WPF]"
|
||||
- "multimedia [WPF], repeating media playback"
|
||||
- "playback of media [WPF], repeating"
|
||||
ms.assetid: 02ab486d-c6b6-4918-9edd-45a12aca4683
|
||||
---
|
||||
# How to: Repeat Media Playback
|
||||
This example shows how to playback media indefinitely, that is, to set media so that it plays in an infinite loop.
|
||||
|
||||
## Example
|
||||
The following example uses <xref:System.Windows.Controls.MediaElement> and <xref:System.Windows.Media.MediaTimeline> in a <xref:System.Windows.Media.Animation.Storyboard> to play a media clip in an infinite loop.
|
||||
|
||||
[!code-xaml[MediaGallery_snippet#SoundRepeatExampleWholePage](~/samples/snippets/csharp/VS_Snippets_Wpf/MediaGallery_snippet/CSharp/SoundRepeatExample.xaml#soundrepeatexamplewholepage)]
|
||||
|
||||
## See also
|
||||
|
||||
- <xref:System.Windows.Controls.MediaElement>
|
||||
- <xref:System.Windows.Media.MediaTimeline>
|
||||
- <xref:System.Windows.Media.Animation.Storyboard>
|
||||
- [How-to Topics](audio-and-video-how-to-topics.md)
|
||||
- [Graphics and Multimedia](index.md)
|
||||
Reference in New Issue
Block a user