共用方式為


RefreshStateChangedEventArgs 類別

定義

提供 RefreshVisualizer.RefreshStateChanged 事件的事件資料。

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

public ref class RefreshStateChangedEventArgs 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 RefreshStateChangedEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class RefreshStateChangedEventArgs 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 RefreshStateChangedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class RefreshStateChangedEventArgs
Public NotInheritable Class RefreshStateChangedEventArgs
繼承
Object Platform::Object IInspectable RefreshStateChangedEventArgs
屬性

Windows 需求

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

屬性

NewState

取得值,這個值表示 RefreshVisualizer的新狀態。

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

OldState

取得值,這個值表示 RefreshVisualizer的先前狀態。

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

適用於