共用方式為


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

適用於

另請參閱