共用方式為


RefreshRequestedEventArgs 類別

定義

提供 RefreshRequested 事件的事件資料。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.RefreshRequestedEventArgs (Windows 應用程式 SDK,請參閱Windows 應用程式 SDK命名空間) 。

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
繼承
Object Platform::Object IInspectable RefreshRequestedEventArgs
屬性

Windows 需求

裝置系列
Windows 10, version 1803 (已於 10.0.17134.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v6.0 引進)

方法

GetDeferral()

取得延遲物件,以管理 RefreshRequested 事件處理常式中完成的工作。

適用于 UWP 的對等 WinUI 2 APIMicrosoft.UI.Xaml.Controls.RefreshRequestedEventArgs.GetDeferral (in Windows 應用程式 SDK,請參閱Windows 應用程式 SDK命名空間) 。

適用於

另請參閱