internal DockPattern (IDockProvider source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new DockPatternInformation (this, false); if (cached) cachedInfo = new DockPatternInformation (this, true); }
internal DockPattern(IDockProvider source, AutomationElement element, bool cached) { this.element = element; this.cached = cached; this.Source = source; currentInfo = new DockPatternInformation(this, false); if (cached) { cachedInfo = new DockPatternInformation(this, true); } }