void _InputSearchMethod(object sender, InputSearchEventArgs e) { if (null == InputSearch) { return; } InputSearch(sender, e); }
private void pgSearch_InputSearch(object sender, InputSearchEventArgs e) { if (String.IsNullOrEmpty(e.InputValue)) { AddPropertyToStackPanel(item); } else { var result = from p in item where p.Name.ToUpper().StartsWith(e.InputValue.ToUpper()) select p; List <PropertyInfoAttribute> _item = result.ToList(); AddPropertyToStackPanel(_item); } }
void pgSearch_InputSearch(object sender, InputSearchEventArgs e) { }