|
-
Sep 21st, 2009, 11:27 AM
#1
Thread Starter
New Member
How to loop through a set of controls on a WPF Window
Hi, basically i need to loop through controls on WPF window and for perform actions with the control and gather data from it based on its type.
I have done this before in windows forms, in WPF however i am having some problems.
I'm afriad the actual code is at work and i won't be in till tomorrow, at which point i will update this thread with it.
From my memory creating a loop such as this in Vb.net works fine.
1 Code:
For each c as control in Me.Controls ... Next
However as WPF is different i tried using Me.content to no avail and other variations that threw an error.
Ideas?
Cheers
Last edited by CJay; Sep 21st, 2009 at 11:32 AM.
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
|