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