Bagikan melalui


RefreshStateChangedEventArgs Kelas

Definisi

Menyediakan data peristiwa untuk peristiwa RefreshVisualizer.RefreshStateChanged .

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

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
Warisan
Object Platform::Object IInspectable RefreshStateChangedEventArgs
Atribut

Persyaratan Windows

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

Properti

NewState

Mendapatkan nilai yang menunjukkan status baru RefreshVisualizer.

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

OldState

Mendapatkan nilai yang menunjukkan status RefreshVisualizer sebelumnya.

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

Berlaku untuk