RefreshContainer.PullDirection 属性

定义

获取或设置一个值,该值指定要拉取以启动刷新的方向。

public:
 property RefreshPullDirection PullDirection { RefreshPullDirection get(); void set(RefreshPullDirection value); };
/// [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);
/// [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 { [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")]
public RefreshPullDirection PullDirection { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="winrt::RefreshPullDirection::TopToBottom")] set; }
var refreshPullDirection = refreshContainer.pullDirection;
refreshContainer.pullDirection = refreshPullDirection;
Public Property PullDirection As RefreshPullDirection

属性值

一个枚举值,该值指定要拉取以启动刷新的方向。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于