Reputation: 33
I want to make a conversation view with ListBox, but I don't know how to start. Just like WhatsApp Conversation View...
Thanks~
Upvotes: 1
Views: 789
Reputation: 8126
You need to create custom ItemTemplate
for dialog items. Also, if you have some different layouts for incoming, outgoing, voice messages, etc, you may be interesting in Implementing DataTemplateSelector
Upvotes: 0
Reputation: 3675
You need to create a ItemTemplate for your listbox using a DataTemplate. However, as you require doing conditional formatting etc you probably want to write an element in C# that you can bind to in your delegate. See Windows Phone 7 add listbox with itemtemplate and datatemplate from code?
Upvotes: 1