RefreshPullDirection Enum

Definition

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

C#
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=6)]
[Windows.Foundation.Metadata.Version(1)]
public enum RefreshPullDirection
C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
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

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also