Ejemplo n.º 1
0
		public void ScrollVertical (ScrollAmount amount, bool log)
		{
			if (log)
				procedureLogger.Action (string.Format ("Scroll {0} vertically..", amount.ToString ()));

			ScrollPattern sp = (ScrollPattern) element.GetCurrentPattern (ScrollPattern.Pattern);
			sp.ScrollVertical (amount);
		}
Ejemplo n.º 2
0
		public void Scroll (ScrollAmount horizontalAmount, ScrollAmount verticalAmount, bool log)
		{
			if (log)
				procedureLogger.Action (string.Format ("Scroll {0} horizontally and {1} vertically.",
				                                       horizontalAmount.ToString (), verticalAmount.ToString ()));

			ScrollPattern sp = (ScrollPattern) element.GetCurrentPattern (ScrollPattern.Pattern);
			sp.Scroll (horizontalAmount, verticalAmount);
		}
Ejemplo n.º 3
0
        public void ScrollVertical(ScrollAmount amount, bool log)
        {
            if (log)
            {
                procedureLogger.Action(string.Format("Scroll {0} vertically..", amount.ToString()));
            }

            ScrollPattern sp = (ScrollPattern)element.GetCurrentPattern(ScrollPattern.Pattern);

            sp.ScrollVertical(amount);
        }
Ejemplo n.º 4
0
        public void Scroll(ScrollAmount horizontalAmount, ScrollAmount verticalAmount, bool log)
        {
            if (log)
            {
                procedureLogger.Action(string.Format("Scroll {0} horizontally and {1} vertically.",
                                                     horizontalAmount.ToString(), verticalAmount.ToString()));
            }

            ScrollPattern sp = (ScrollPattern)element.GetCurrentPattern(ScrollPattern.Pattern);

            sp.Scroll(horizontalAmount, verticalAmount);
        }