internal GridPattern (IGridPattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new GridPatternInformation (this, false); if (cached) cachedInfo = new GridPatternInformation (this, true); }
internal GridPattern(IGridPattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new GridPatternInformation(this, false); if (cached) { cachedInfo = new GridPatternInformation(this, true); } }