Table of Contents

Method OnFocused

Namespace
Alternet.UI
Assembly
Alternet.UI.Maui.dll

OnFocused(object?, FocusEventArgs)

Handles the event when the control gains focus.

protected virtual void OnFocused(object? sender, FocusEventArgs e)

Parameters

sender object

The source of the focus event. This can be null.

e FocusEventArgs

The event data associated with the focus event.

Remarks

Derived classes can override this method to provide custom behavior when the control gains focus.