wpf - Can we concat two properties in data binding? -
can concat 2 properties in binding expression? if possible without converter or without writing 2 textblocks , setting them individually?
like alpha-mouse suggests multibinding won't work out of box, guy has thrown might help:
if seems bit rogue, maybe try putting combined value property on object helper binding mechanism, like:
public string fullname { { return this.firstname + " " + this.lastname; } }
Comments
Post a Comment