FrameworkElement::OnRenderSizeChanged Method (SizeChangedInfo^)
Raises the SizeChanged event, using the specified information as part of the eventual event data.
Assembly: PresentationFramework (in PresentationFramework.dll)
Notes to Inheritors:
Do not override this method for typical layout scenarios. The layout system operates in a deliberately asynchronous way to assure that all possible layout arrange and measure cases are accounted for. The layout system override methods MeasureOverride and ArrangeOverride are usually sufficient for any required layout customization. is exposed as a virtual. You can override to correct for exceptional cases where a run-time behavioral change related to input events combined with control recomposition in response might give inaccurate layout information.
You may still override this method in derived classes (it is protected but not sealed). Always call the base implementation to preserve the behavior mentioned above, unless you have very specific reasons for disabling default WPF framework-level rendering behavior. Failing to raise the SizeChanged event will cause non-standard layout behavior if using the standard WPF framework-level layout system implementation.
Available since 3.0