Share via


RefreshContainer.PullDirection Properti

Definisi

Mendapatkan atau menetapkan nilai yang menentukan arah penarikan untuk memulai refresh.

Dokumentasi ini berlaku untuk WinUI 2 untuk UWP (untuk WinUI di SDK Aplikasi Windows, lihat namespace SDK Aplikasi Windows).

public:
 property RefreshPullDirection PullDirection { RefreshPullDirection get(); void set(RefreshPullDirection value); };
RefreshPullDirection PullDirection();

void PullDirection(RefreshPullDirection value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")]
RefreshPullDirection PullDirection();

void PullDirection(RefreshPullDirection value);
public RefreshPullDirection PullDirection { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")]
public RefreshPullDirection PullDirection { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")] set; }
Public Property PullDirection As RefreshPullDirection

Nilai Properti

Nilai enumerasi yang menentukan arah untuk menarik untuk memulai refresh.

Atribut
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Berlaku untuk