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