共用方式為


VisualElement.Unfocused 事件

定義

發生於這個專案未對焦時。

public:
 event EventHandler<Microsoft::Maui::Controls::FocusEventArgs ^> ^ Unfocused;
public event EventHandler<Microsoft.Maui.Controls.FocusEventArgs> Unfocused;
member this.Unfocused : EventHandler<Microsoft.Maui.Controls.FocusEventArgs> 
Public Event Unfocused As EventHandler(Of FocusEventArgs) 

事件類型

備註

當專案目前沒有焦點時,不會觸發此事件。

適用於