共用方式為


ScrollViewer.SetIsVerticalScrollChainingEnabled 方法

定義

設定指定專案上 IsVerticalScrollChainingEnabled 相依性屬性 / ScrollViewer.IsVerticalScrollChainingEnabled XAML 附加屬性的值。

public:
 static void SetIsVerticalScrollChainingEnabled(DependencyObject ^ element, bool isVerticalScrollChainingEnabled);
 static void SetIsVerticalScrollChainingEnabled(DependencyObject const& element, bool const& isVerticalScrollChainingEnabled);
public static void SetIsVerticalScrollChainingEnabled(DependencyObject element, bool isVerticalScrollChainingEnabled);
function setIsVerticalScrollChainingEnabled(element, isVerticalScrollChainingEnabled)
Public Shared Sub SetIsVerticalScrollChainingEnabled (element As DependencyObject, isVerticalScrollChainingEnabled As Boolean)

參數

element
DependencyObject

要設定屬性值的項目。

isVerticalScrollChainingEnabled
Boolean

bool

要設定的值。

備註

如需詳細資訊,請參閱 IsVerticalScrollChainingEnabled 屬性。

適用於

另請參閱