Assume my viewmodel contains property like:
public int[] GetConnectionsStats {
get { return _stats; }
}
Now I want to databind textfield (one-way) to the first/second/third element of the returned array. Is it possible?
Of course I can always introduce int GetFirstConnectionStats() int GetSecondConnectionStats() etc. but I want to avoid that.
Same syntax as in C# given that you have a property:
If you have a method you could use the
ObjectDataProvider, and take that as source: