Hi!
I just ended up typing A LOT of calculated properties just to serve as default properties (to bi displayed in lookup editors) and I thought - hey, wouldn't it be great if I would be able to just pass expression and caption to XafDefaultProperty?
So, instead writing entire calculated property each and every time when I need more than one property as default property (which is quite often) it would be awesome if I would be able to do something like this:
[XafDefaultProperty('[LastName] + " " + [FirstName] + ([PhoneNumber]', "Person description")
Of course, if one needs server side data handling there is no other way but create persistent calculated property, but when such need is not required (I'm quite ok with client-side data handling in most cases) - expression in XafDefaultProperty would be amazing solution.
What do you think? Would that be hard to implement?
Thanks,
Mario