c# - binding two values windows phone -
i need like
<textblock grid.column="2" text="{binding firstname,lastname}" verticalalignment="center"/> the windows phone sdk(silverlight) doesn't support multibinding :( don't want use class implements joins of 2 values, need faster, because have listbox 10 000 values firstname , lastname
you should add fullname property viewmodel or whatever object using datacontext. value not stored anywhere calculate @ run-time values of firstname , lastname. cost of concatenating 2 strings negligible compared cost of fetching 10000 records web service or isolated storage, shouldn't worrying that. if there performance issues, should implement form of virtualization instead.
Comments
Post a Comment