Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.Unfocused Event

Occurs when the element loses focus.

Syntax

public event EventHandler<FocusEventArgs> Unfocused

Remarks

Unfocused event is raised whenever the VisualElement loses focus. This event is not bubbled through the Forms stack and is received directly from the native control. This event is emitted by the IsFocusedProperty setter.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0