-
- zzh123456789
- Posts: 4
- Joined:
How to implement circular list box?
I want to implement circular list box with noesisgui.
refer to:
https://www.codeproject.com/Articles/25 ... res-Part-1
https://www.codeproject.com/KB/silverli ... heel_1.png
refer to:
https://www.codeproject.com/Articles/25 ... res-Part-1
https://www.codeproject.com/KB/silverli ... heel_1.png
-
-
sfernandez
Site Admin
- Posts: 2038
- Joined:
Re: how to inplement circular list box?
Hi,
You have to implement a RadialPanel that layouts children along a ellipse, and use it as the ItemsPanel of your ListBox.
This sample might help: https://www.codeproject.com/Articles/83 ... Custom-Cir
You have to implement a RadialPanel that layouts children along a ellipse, and use it as the ItemsPanel of your ListBox.
Code: Select all
<ListBox ItemsSource="{Binding SomeItems}" ...>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<local:RadialPanel .../>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
Who is online
Users browsing this forum: Bing [Bot] and 1 guest