SearchPersonCommnad = new RelayActionCommand() { CanExecuteAction = n=> !String.IsNullOrEmpty(Name), ExecuteAction = n => defaultView.Filter = name => ((PersonInfo)name).FirstName.StartsWith(Name) || ((PersonInfo)name).LastName.StartsWith(Name) || ((PersonInfo)name).City==Name };
CanExecuteAction
CanExecuteAction = n => !string.IsNullOrEmpty(FirstProperty) && !string.IsNullOrEmpty(SecondProperty) && ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)