예제 #1
0
 void _InputSearchMethod(object sender, InputSearchEventArgs e)
 {
     if (null == InputSearch)
     {
         return;
     }
     InputSearch(sender, e);
 }
예제 #2
0
 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)
 {
 }