Exemple #1
0
        /// <summary>
        /// This method will be used when the PlacementTarget element of the Popup was moved or resize so we need to update each Step and the ExitTour popup
        /// </summary>
        internal void UpdateGuideStepsLocation()
        {
            if (currentGuide != null)
            {
                currentGuide.CurrentStep.UpdateLocation();
            }

            if (exitTourPopup != null)
            {
                exitTourPopup.UpdateLocation();
            }
        }
Exemple #2
0
        /// <summary>
        /// This method will be used when the PlacementTarget element of the Popup was moved or resize so we need to update each Step and the ExitTour popup
        /// </summary>
        internal void UpdateGuideStepsLocation()
        {
            //If there is no guide being executed then we shouldn't do anything
            if (!GuideFlowEvents.IsAnyGuideActive)
            {
                return;
            }

            if (currentGuide != null)
            {
                currentGuide.CurrentStep.UpdateLocation();
            }

            if (exitTourPopup != null)
            {
                exitTourPopup.UpdateLocation();
            }
        }