Page 1 of 1

How to implement circular list box?

Posted: 07 Jan 2019, 14:47
by zzh123456789

Re: how to inplement circular list box?

Posted: 08 Jan 2019, 02:07
by sfernandez
Hi,

You have to implement a RadialPanel that layouts children along a ellipse, and use it as the ItemsPanel of your ListBox.
<ListBox ItemsSource="{Binding SomeItems}" ...>
  <ListBox.ItemsPanel>
    <ItemsPanelTemplate>
      <local:RadialPanel .../>
    </ItemsPanelTemplate>
  </ListBox.ItemsPanel>
</ListBox>
This sample might help: https://www.codeproject.com/Articles/83 ... Custom-Cir