Search code examples
xamlwindows-phone-8windows-phone-8.1

Listbox with 2 asymmetric columns- Windows phone 8.1/Windows 8.1


I want to create somekind of listbox with 2 asymmetric columns. It looks like that: a busy cat


Solution

  • Use ItemContainerStyleSelector or ItemTemplateSelector and toggle between two templates/styles with alternating left and right margin (or content alignment, etc.).