예제 #1
0
 public CurrentStep(View element, string text, CoachMarksSettings settings)
 {
     Text          = text;
     Element       = element;
     Settings      = settings;
     ElementParent = Element.Parent ?? throw new InvalidOperationException();
 }
예제 #2
0
        public CoachMarks(CoachMarksSettings settings)
        {
            Settings = settings;

            Overlay = new CoachMarksOverlay();

            // Buttons
            Next = new NextButton(NextButtonTapped);
            Skip = new SkipButton(SkipButtonTapped);
            Back = new BackButton(BackButtonTapped);

            // Buttons stacks
            TopButtons    = new TopButtonContainer();
            BottomButtons = new BottomButtonContainer();
        }