May 19th, 2010, 03:43 AM
I have a wpf application that contains a class (say ClassA) is implementing ICommand.
In the other class, I have the follow code:
public void doSomething()
private ICommand _commandA;
public ICommand CommandA
return _commandA = new GenericCommand(doSomething);
everytime the above get property method is called, I'm getting the following error:
CommandConverter is unable to convert 'GenericCommand' to "System.String"
can anyone please help?
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!