public void Play() { if (Player != null) { if (Player.Position >= Player.NaturalDuration) { Player.Position = TimeSpan.Zero; } Player.Play(); IsPlaying = true; } }