TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sachin Joseph
NA
4
0
Please clear my WPF controls doubt
Jun 3 2010 1:21 AM
I was trying to migrate one of my WinForms project to WPF.
Is there any method to get all controls on a WPF Window similar to MyWindowsForm.Controls() or MyWindowsFormGroupBox.Controls() to access all controls on a WPF Window?
How can I have access to all controls on a WPF Window or a WPF grid (not DataGrid) pragmatically?
How can I access all controls in a WPF Window or WPF Grid, the Windows Forms way like this?:
For Each ctrl as Control in MyWindowsFormGroupBox.Controls()
If TypeOf ctrl is TextBox Then CType(ctrl, TextBox).Text = ""
Next
Reply
Answers (
2
)
Question for Mahesh Sir and Kirtan Sir (How to search text or topic from website)
Unable to open blog in new page