Show / Hide Table of Contents

Method OnSizeAllocated

| Edit this page View Source

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

Overrides
Layout.OnSizeAllocated(double, double)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX