Exemplo n.º 1
0
		internal ScrollPattern (IScrollPattern source, AutomationElement element, bool cached)
		{
			this.element = element;
			this.cached = cached;
			this.Source = source;
			currentInfo = new ScrollPatternInformation (this, false);
			if (cached)
				cachedInfo = new ScrollPatternInformation (this, true);
		}
Exemplo n.º 2
0
 public ScrollPatternInformation(IScrollPattern scrollPattern, bool useCache)
 {
     _scrollPattern = scrollPattern;
     _useCache = useCache;
 }