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
Bernhard Spindler
NA
1
0
Calling UserControl method from MainWindow
Feb 5 2009 8:38 AM
I'm new to WPF and learning from day to day. Figured out a few things.
But one (simple) thing I don't know how to manage it the right way.
Classic scenario:
MainWindow which has a few UserControls added. Nested.
1, Running the app I choose File->Open. After selecting a Filename I press enter. From the dialog I got the filename. We're in the On_Click auf the MainWindow.
2, Now I'm trying to "send" this filename to a usercontrol which is nested somewhere in the "tree" to do some work.
I read about RoutedEvents, RoutedCommands, delegates, events and so on.
After days I'm still confused what's the right way for me to go.
Hope to get a little advice from you.
Thank you,
Bernhard
Reply
Answers (
0
)
Position of a word in a frame
edit treeview items