SpreadsheetPattern( AutomationElement element, IUIAutomationSpreadsheetPattern spreadsheetPattern) : base(el: element) { this._spreadsheetPattern = spreadsheetPattern; }
protected override void Dispose(bool disposing) { if (Pattern != null) { System.Runtime.InteropServices.Marshal.ReleaseComObject(Pattern); this.Pattern = null; } base.Dispose(disposing); }
public SpreadsheetPattern(A11yElement e, IUIAutomationSpreadsheetPattern p) : base(e, PatternType.UIA_SpreadsheetPatternId) { Pattern = p; }
internal static SpreadsheetPattern Wrap( AutomationElement element, IUIAutomationSpreadsheetPattern spreadsheetPattern) { return(new SpreadsheetPattern(element: element, spreadsheetPattern: spreadsheetPattern)); }
private SpreadsheetPattern(AutomationElement el, IUIAutomationSpreadsheetPattern pattern, bool cached) : base(el, cached) { Debug.Assert(pattern != null); this._pattern = pattern; }