Dela via


RefreshStateChangedEventArgs Class

Definition

Provides event data for the RefreshVisualizer.RefreshStateChanged event.

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

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

Windows requirements

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

Properties

NewState

Gets a value that indicates the new state of the RefreshVisualizer.

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

OldState

Gets a value that indicates the previous state of the RefreshVisualizer.

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

Applies to