How to generate items inside a Panel using WPF DataBinding?
-
Can any one tell me, if I need to populate the items of a Panel dynamically using Binding, how can I do so? A panel has got a Children property, unlike other collection control ListView, Listbox that offers a property named ItemsSource or stuffs like that. How can i make this thing work for a panel. To clarify the question- How to bind the items displayed inside a FishEyePanel ..or is it possible at all? usually, What I can do is however, I want to generate the number of button using Binding...is it possible?
Moim Hossain R&D Project Manager BlueCielo ECM Solutions BV
-
Can any one tell me, if I need to populate the items of a Panel dynamically using Binding, how can I do so? A panel has got a Children property, unlike other collection control ListView, Listbox that offers a property named ItemsSource or stuffs like that. How can i make this thing work for a panel. To clarify the question- How to bind the items displayed inside a FishEyePanel ..or is it possible at all? usually, What I can do is however, I want to generate the number of button using Binding...is it possible?
Moim Hossain R&D Project Manager BlueCielo ECM Solutions BV
What I would do here is put a ListView inside your panel, and then generate the buttons inside ListView Items.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
-
What I would do here is put a ListView inside your panel, and then generate the buttons inside ListView Items.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
hmm nope, I got my problems solutions .. <ItemsControl ItemsSource="{Binding ConfiguredViews}"> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> panels:FishEyePanel/ </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> here is what I was thinking. Thanks for bothering :P
Moim Hossain R&D Project Manager BlueCielo ECM Solutions BV