Show / Hide Table of Contents

Method OnSizeChanged

| Edit this page View Source

OnSizeChanged(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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX