ScrollPresenter.VerticalScrollChainMode 属性

定义

获取或设置一个值,该值指示是否将垂直滚动链接到外部滚动控件。

public:
 property ScrollingChainMode VerticalScrollChainMode { ScrollingChainMode get(); void set(ScrollingChainMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")]
ScrollingChainMode VerticalScrollChainMode();

void VerticalScrollChainMode(ScrollingChainMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")]
ScrollingChainMode VerticalScrollChainMode();

void VerticalScrollChainMode(ScrollingChainMode value);
public ScrollingChainMode VerticalScrollChainMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")]
public ScrollingChainMode VerticalScrollChainMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultVerticalScrollChainMode")] set; }
var scrollingChainMode = scrollPresenter.verticalScrollChainMode;
scrollPresenter.verticalScrollChainMode = scrollingChainMode;
Public Property VerticalScrollChainMode As ScrollingChainMode

属性值

枚举的一个值。 默认值为 Auto

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

适用于