Method OnSizeAllocated
| Edit this page View SourceOnSizeAllocated(double, double)
Method that is called when the size of the element is set during a layout cycle. Implement this method to add class handling for this event.
Declaration
protected override void OnSizeAllocated(double width, double height)
Parameters
Type | Name | Description |
---|---|---|
double | width | The new width of the element. |
double | height | The new height of the element. |