Unfocused Event for Entry Control Not Firing

MAS Consulting 1 Reputation point
2021-12-05T19:20:00.467+00:00

The Unfocused event for the Entry control does not seem to be firing ever. Here is the code in the XAML:

            <Entry x:Name="LogInt" Text="0" Unfocused="OnUnfocused_Entry" Grid.Row="3" Grid.Column="1"/>

And the corresponding even handler:

   protected void OnUnfocused_Entry(object sender, EventArgs e)
    {
        System.Diagnostics.Debug.WriteLine("Unfocused Event");  // Never executed
    }

I can enter and exit the control or add text and leave but the event never triggers. What am I doing wrong?

Doesn't seem to work on Android or Windows.

I don't want to use the Completed event as that does not fire if one just leaves the entry control. I am looking for real time validation.

Full Project: https://github.com/mas985/AquaLogic_xp

Microsoft Visual Studio Community 2022 (64-bit) - Preview
Version 17.1.0 Preview 1.1
Maui Installed

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,529 questions
{count} votes