/// <summary> /// Initializator that will read all the guides/steps from and json file and subscribe handlers for the Start and Finish events /// </summary> internal void Initialize() { //Subscribe the handlers when the Tour is started and finished, the handlers are unsubscribed in the method TourFinished() GuideFlowEvents.GuidedTourStart += TourStarted; GuideFlowEvents.GuidedTourFinish += TourFinished; Guides = new List <Guide>(); //Due that we are passing the GuideBackground for each Step we need to create first the background and then Create the Steps CreateBackground(); CreateGuideSteps(GuidesJsonFilePath); GuidesValidationMethods.CurrentExecutingGuidesManager = this; guideBackgroundElement.ClearCutOffSection(); guideBackgroundElement.ClearHighlightSection(); }