LostFocusEventManager.StartListening(Object) 方法

定義

將內部類別處理常式附加到指定的來源,開始接聽該來源上的 LostFocus 事件。

protected:
 override void StartListening(System::Object ^ source);
protected override void StartListening (object source);
override this.StartListening : obj -> unit
Protected Overrides Sub StartListening (source As Object)

參數

source
Object

要開始被接聽相關 LostFocus 事件的物件。

備註

所提供的來源會檢查類型是否為 UIElementContentElement ,然後將適當事件的類別處理常式新增至該來源。

適用於

另請參閱