Layout.OnSizeAllocated(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method is called when the size of the element is set during a layout cycle. This method is called directly before the SizeChanged event is emitted. Implement this method to add class handling for this event.
protected override void OnSizeAllocated (double width, double height);
override this.OnSizeAllocated : double * double -> unit
Parameters
- width
- System.Double
The new width of the element.
- height
- System.Double
The new height of the element.
Remarks
This method has a default implementation which triggers the layout cycle of the Layout to begin.