TablePattern( AutomationElement element, IUIAutomationTablePattern tablePattern, IUIAutomationGridPattern gridPattern) : base(element: element, gridPattern: gridPattern) { this._tablePattern = tablePattern; }
internal static TablePattern Wrap( AutomationElement element, IUIAutomationTablePattern tablePattern) { object obj = null; return(new TablePattern(element: element, tablePattern: tablePattern, gridPattern: (IUIAutomationGridPattern)obj)); }
protected override void Dispose(bool disposing) { if (Pattern != null) { System.Runtime.InteropServices.Marshal.ReleaseComObject(Pattern); this.Pattern = null; } base.Dispose(disposing); }
public TablePattern(A11yElement e, IUIAutomationTablePattern p) : base(e, PatternType.UIA_TablePatternId) { Pattern = p; PopulateProperties(); }
private TablePattern(AutomationElement el, IUIAutomationTablePattern tablePattern, IUIAutomationGridPattern gridPattern, bool cached) : base(el, gridPattern, cached) { Debug.Assert(tablePattern != null); this._pattern = tablePattern; }