Esempio n. 1
0
		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);
		}
Esempio n. 2
0
 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);
     }
 }