Dela via


RefreshPullDirection Enum

Definition

Defines constants that specify the direction to pull a RefreshContainer to initiate a refresh.

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

public enum class RefreshPullDirection
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class RefreshPullDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum RefreshPullDirection
Public Enum RefreshPullDirection
Inheritance
RefreshPullDirection
Attributes

Windows requirements

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

Fields

Name Value Description
LeftToRight 0

Pull from left to right to initiate a refresh.

TopToBottom 1

Pull from top to bottom to initiate a refresh.

RightToLeft 2

Pull from right to left to initiate a refresh.

BottomToTop 3

Pull from bottom to top to initiate a refresh.

Remarks

This enumeration provides values for the RefreshContainer.PullDirection property.

Applies to