How can I get multibinding to work in XAML ListBox?
问题 The following shows me 3x "MultiTest.Model.Customers" in the ListBox (one for each record it should display). What do I need to change in order for it to output the contents of the fields instead? <Window.Resources> <Style TargetType="{x:Type ListBoxItem}"> <Setter Property="ContentTemplate" > <Setter.Value> <MultiBinding StringFormat="{}{1}, {0} "> <Binding Path="FirstName" /> <Binding Path="LastName"/> </MultiBinding> </Setter.Value> </Setter> </Style> </Window.Resources> <Grid> <ListBox x