-
June 11th, 2009, 05:38 AM
#1
How to check Stack panel items
Hi,
I am working on WPF stack panel. In this I used to add items dynamically to the stack panel. Now If I click on the stackpanel item some message like the number of the child clicked should be displayed. Will there be any events for thi to checking the selected item of the stack panel.
If any one have any idea how to do this please reply me.
Thanks in advance
-
June 14th, 2009, 07:18 PM
#2
Re: How to check Stack panel items
Unlike the listbox class, StackPanel doesn't inherit from Selector. That means, you'll need to add any selection functionality to the class yourself.
Is there any reason you can't use a ListBox?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|