ScrollViewer.SetIsHorizontalScrollChainingEnabled 方法

定义

设置指定元素上的 IsHorizontalScrollChainingEnabled 依赖属性/ ScrollViewer.IsHorizontalScrollChainingEnabled XAML 附加属性的值。

public:
 static void SetIsHorizontalScrollChainingEnabled(DependencyObject ^ element, bool isHorizontalScrollChainingEnabled);
 static void SetIsHorizontalScrollChainingEnabled(DependencyObject const& element, bool const& isHorizontalScrollChainingEnabled);
public static void SetIsHorizontalScrollChainingEnabled(DependencyObject element, bool isHorizontalScrollChainingEnabled);
function setIsHorizontalScrollChainingEnabled(element, isHorizontalScrollChainingEnabled)
Public Shared Sub SetIsHorizontalScrollChainingEnabled (element As DependencyObject, isHorizontalScrollChainingEnabled As Boolean)

参数

element
DependencyObject

要在其上设置属性值的元素。

isHorizontalScrollChainingEnabled
Boolean

bool

要设置的值。

注解

有关详细信息,请参阅 IsHorizontalScrollChainingEnabled 属性。

适用于

另请参阅