共用方式為


VisualElement.Focused 事件

定義

發生於此項目焦點時。

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

事件類型

適用於