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); }
public ScrollPatternInformation(IScrollPattern scrollPattern, bool useCache) { _scrollPattern = scrollPattern; _useCache = useCache; }