共用方式為


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

適用於