Bagikan melalui


FocusManagerLostFocusEventArgs Kelas

Definisi

Menyediakan data untuk peristiwa LostFocus .

public ref class FocusManagerLostFocusEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FocusManagerLostFocusEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FocusManagerLostFocusEventArgs
Public NotInheritable Class FocusManagerLostFocusEventArgs
Warisan
Object Platform::Object IInspectable FocusManagerLostFocusEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1809 (diperkenalkan dalam 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v7.0)

Keterangan

Sebaiknya gunakan fokus UIElement merutekan peristiwa alih-alih peristiwa FocusManager jika memungkinkan.

Properti

CorrelationId

Mendapatkan ID unik yang dihasilkan saat peristiwa gerakan fokus dimulai.

OldFocusedElement

Mendapatkan elemen terakhir yang difokuskan.

Berlaku untuk

Lihat juga