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 属性。

适用于

另请参阅