Share via


RefreshPullDirection Enum

Definition

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

public enum class RefreshPullDirection
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=6)]
/// [Windows.Foundation.Metadata.Version(1)]
enum class RefreshPullDirection
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
enum class RefreshPullDirection
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=6)]
[Windows.Foundation.Metadata.Version(1)]
public enum RefreshPullDirection
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public enum RefreshPullDirection
Public Enum RefreshPullDirection
Inheritance
RefreshPullDirection
Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute VersionAttribute ContractVersionAttribute

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.

Examples

Tip

For more info, design guidance, and code examples, see Pull to refresh.

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.

Remarks

This enumeration provides values for the RefreshContainer.PullDirection property.

Applies to

See also