I'm experimenting with MVVM Light for an application which acquires data from sensors. The sensor model exposes properties and methods. Some of these methods take arguments and return data. Example,
public double GetVelocity(int AxisNo)
{
Do something;
return double_data;
}
How do I use RelayCommand<T>
to pass a parameter from a bound control and bind the return value to another control displaying it?
Thanks.