SKCanvasView.OnSizeChanged(Int32, Int32, Int32, Int32) 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 is called during layout when the size of this view has changed. If you were just added to the view hierarchy, you're called with the old values of 0.
protected override void OnSizeChanged(int w, int h, int oldw, int oldh);
Parameters
- w
- Int32
Current width of this view.
- h
- Int32
Current height of this view.
- oldw
- Int32
Old width of this view.
- oldh
- Int32
Old height of this view.