zzh123456789
Topic Author
Posts: 4
Joined: 04 Dec 2018, 04:26

How to implement circular list box?

07 Jan 2019, 14:47

 
User avatar
sfernandez
Site Admin
Posts: 1414
Joined: 22 Dec 2011, 19:20

Re: how to inplement circular list box?

08 Jan 2019, 02:07

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

Who is online

Users browsing this forum: Bing [Bot] and 6 guests