public static SearchCriteria ByNativeProperty(AutomationProperty automationProperty, string value) { return(new SearchCriteria(SearchConditionFactory.CreateForNativeProperty(automationProperty, value))); }
public virtual SearchCriteria AndNativeProperty(AutomationProperty automationProperty, string value) { conditions.Insert(0, SearchConditionFactory.CreateForNativeProperty(automationProperty, value)); return(this); }