Bagikan melalui


RefreshRequestedEventArgs Kelas

Definisi

Menyediakan data peristiwa untuk peristiwa RefreshRequested.

API WinUI 2 yang setara untuk UWP: Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

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

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1803 (diperkenalkan dalam 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v6.0)

Metode

GetDeferral()

Mendapatkan objek penangguhan untuk mengelola pekerjaan yang dilakukan di penanganan aktivitas RefreshRequested.

API WinUI 2 yang setara untuk UWP: Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs.GetDeferral (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

Berlaku untuk

Lihat juga