Windows Vista Forums
Vista Forums Home Join Vista Forums Webcasts Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Is there a way to know when my framework tree (ancestor) has chang

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 07-10-2007   #1 (permalink)
nickdu
Guest


 

Is there a way to know when my framework tree (ancestor) has chang

I've written a control which when rendering needs to look up the tree to find
an ancestor (parent, grandparent, etc.) that holds information which the
control needs in order to render. The problem I've run into is that even
after EndInit() I still can't traverse up the tree to find this ancestor
since it appears EndInit() is called after XamlReader.Load(). However, this
loaded element has not been added to the tree yet. For example:

..
..
..
element = XamlReader.Load(stream);
this.Content = element;
..
..
..

How can the controls which are contained in the xaml which is loaded be
notified when I add that loaded element to tree?
--
Thanks,
Nick

nicknospamdu@community.nospam
remove "nospam" change community. to msn.com

My System SpecsSystem Spec
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bitlocker halts boot up with error that winload.exe has been chang GobinderConvert? Vista General 3 04-17-2008 05:36 PM
Chang how vista mail sorts.. Grassy Vista mail 2 04-10-2008 01:46 PM
ANN: Bricksoft IM(MSN) SDK For .NET Framework/.NET Compact Framework v1.2 released Jianmin Wu Live Messenger 0 01-02-2008 02:24 AM
ROUTER SET UP FOR XP WILL IT WORK WITJ VISA WILL IT NEED ANY CHANG bob 9876 Vista General 5 01-03-2007 05:15 PM
Tree xshell PowerShell 0 09-07-2006 12:10 PM


Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51