internal GridItemPattern (IGridItemPattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new GridItemPatternInformation (this, false); if (cached) cachedInfo = new GridItemPatternInformation (this, true); }
internal GridItemPattern(IGridItemPattern source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new GridItemPatternInformation(this, false); if (cached) { cachedInfo = new GridItemPatternInformation(this, true); } }