Method OnSizeChanged
| Edit this page View SourceOnSizeChanged(Size)
Called when the size of the window changes.
Declaration
protected virtual bool OnSizeChanged(Size newSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Size | newSize | The new size of the window in device independent units. |
Returns
| Type | Description |
|---|---|
| bool | True if the resize event should be marked handled. |
Remarks
While this event is equivalent to the SizeChanged event, the units provided here are in device independent units and not screen pixels.