Occurs when the layout of the Silverlight visual tree changes.
Assembly: System.Windows (in System.Windows.dll)
is the last object lifetime event to occur in the sequence before a control is ready for interaction. However, can also occur at run time during the object lifetime, for a variety of reasons: a property change, a window resizing, or an explicit request (UpdateLayout or ApplyTemplate). The event is raised after all possible SizeChanged events in the tree have been raised.
In WPF, this event is a routed event, and is actually on UIElement not FrameworkElement. In Silverlight, this event is not a routed event; it is a standard CLR event that uses EventArgs, not RoutedEventArgs.
can occur when the object where the handler is attached does not necessarily change anything in the visual tree under it. For instance, imagine a layout container where there are two elements. If the first object changes a property that forces a new layout, both objects raise because the second object might be repositioned even if its own subsidiary layout does not change.
When you handle , do not rely on the sender value. For , sender is always null, regardless of where the handler is attached. This is to prevent handlers from assigning any meaning to sender, such as implying that it was that specific element that raised the event out of the visual tree. Rather, implies that something in the overall Silverlight visual tree has changed, and each specific object anywhere in the tree has the option of handling this occurrence. The Silverlight version of has this behavior in part to maintain WPF compatibility.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.