![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Simple Question Greetings, I'm new to WPF. I've been searching high and low in the MSDN docs but haven't found exactly what I'm looking for but close to it, just not close enough to answer my question. In the WinForms world, there is a Load event or an onLoad function that you can override in order to do things at the start of the Form but after the page initializes. What is the equavalant for WPF? Thanks, Shawn |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Simple Question Hello, there is the "FrameworkContentElement.Loaded" Event. I quote from the Windows SDK: "Occurs when the element is laid out, rendered, and ready for interaction. " This is the declaration in C#: public event RoutedEventHandler Loaded and in XAML: <object Loaded="RoutedEventHandler" .../> All the best, Andrei Iacob Shawn B. wrote: > Greetings, > > I'm new to WPF. I've been searching high and low in the MSDN docs but > haven't found exactly what I'm looking for but close to it, just not close > enough to answer my question. > > In the WinForms world, there is a Load event or an onLoad function that you > can override in order to do things at the start of the Form but after the > page initializes. What is the equavalant for WPF? > > > Thanks, > Shawn |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Simple Question In WPF world, We have Window.Loaded event, but unfortunately we don't have Window.OnLoaded method. Sheva |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Simple question | .NET General | |||
| Simple Question | Vista General | |||
| Simple Question? | Vista General | |||
| a simple question | Vista General | |||