Check out Window Life Time Events at http://msdn.microsoft.com/en-us/library/ms748948.aspx
I think that ContentRendered is probably a good choice. As far as I can tell the event trigger sequence is not the same as for WinForms. Regards Peter From: [email protected] [mailto:[email protected]] On Behalf Of Greg Keogh Sent: Sunday, 24 July 2011 2:55 PM To: 'ozDotNet' Subject: RE: WPF Binding validation (2) >Since you are using a Window, why not move this from your Loaded event handler to a ContentRendered event handler. That actually works! But I feel the event is orthogonal to validation and I'd rather not use it that way. In WinForms there was a reliable sequence that went ctor -> Loaded -> Activated. Quite often I'd have to put code in the first Activated event that would not work in Loaded, a classic being a call to Focus(). I can't find the equivalent yet for WPF. Greg
