Example #1
0
        /// <summary>
        /// Plays the media.
        /// </summary>
        public void Pause()
        {
            IsPlaying = false;

            if (CurrentAction != null)
            {
                CurrentAction.Freeze();
            }

            // Goes to pause mode
            VisualStateManager.GoToState(this, VSM_State_IsPaused, false);
        }