Table of Contents

Event FrameChanged

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Raised when the Frame changes. This event is raised after the Frame has been updated.

public event EventHandler<EventArgs<Rectangle>>? FrameChanged

Returns

EventHandler<EventArgs<Rectangle>>
Raised when the changes. This event is raised after the has been updated.

Remarks

This is the canonical event for observing resolved-size and position changes. It fires whenever the absolute Frame changes for any reason: assigning X, Y, Width, or Height; setting Frame directly; or a layout pass resolving a relative Dim/Pos (e.g. DimFill). By contrast, the WidthChanged/HeightChanged events observe assignment of the declarative Width/Height Dim only.