Inheritance: BasePattern
Example #1
0
        /// -------------------------------------------------------------------
        /// <summary></summary>
        /// -------------------------------------------------------------------
        public GridItemTests(AutomationElement element, TestPriorities priority, string dirResults, bool testEvents, TypeOfControl typeOfControl, IApplicationCommands commands)
            :
            base(element, TestSuite, priority, typeOfControl, TypeOfPattern.GridItem, dirResults, testEvents, commands)
        {
            _pattern = (GridItemPattern)element.GetCurrentPattern(GridItemPattern.Pattern);
            if (_pattern == null)
				throw new Exception(Helpers.PatternNotSupported);
        }
 public TableItemWrapper(AutomationWrapper automationWrapper, GridItemPattern pattern)
     : base(automationWrapper, pattern)
 {
 }
Example #3
0
			internal GridItemPatternInformation (GridItemPattern pattern, bool cache)
			{
				this.pattern = pattern;
				this.cache = cache;
			}
Example #4
0
 internal GridItemPatternInformation(GridItemPattern pattern, bool cache)
 {
     this.pattern = pattern;
     this.cache   = cache;
 }