3 references to TryGetCurrentPattern
UIAutomationClient (3)
MS\Internal\Automation\WindowVisualStateTracker.cs (1)
86if (!rawEl.TryGetCurrentPattern(WindowPattern.Pattern, out patternObject))
System\Windows\Automation\AutomationElement.cs (2)
561if (!TryGetCurrentPattern(pattern, out retObject)) 845if (pi.ID != null && TryGetCurrentPattern(pi.ID, out patternObject))