共用方式為


FocusEventArgs(VisualElement, Boolean) Constructor

Definition

Constructs and initializes a new instance of the FocusEventArgs class.

public FocusEventArgs (Xamarin.Forms.VisualElement visualElement, bool isFocused);
new Xamarin.Forms.FocusEventArgs : Xamarin.Forms.VisualElement * bool -> Xamarin.Forms.FocusEventArgs

Parameters

visualElement
VisualElement

The VisualElement whose focused was changed.

isFocused
System.Boolean

Whether or not the visualElement was focused.

Applies to