RefreshRequestedEventArgs Class

Definition

Provides event data for RefreshRequested events.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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
Inheritance
Object Platform::Object IInspectable RefreshRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Methods

GetDeferral()

Gets a deferral object for managing the work done in the RefreshRequested event handler.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.RefreshRequestedEventArgs.GetDeferral (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

Applies to

See also