ScrollViewer.SetIsScrollInertiaEnabled(DependencyObject, Boolean) 方法

定義

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

public:
 static void SetIsScrollInertiaEnabled(DependencyObject ^ element, bool isScrollInertiaEnabled);
 static void SetIsScrollInertiaEnabled(DependencyObject const& element, bool const& isScrollInertiaEnabled);
public static void SetIsScrollInertiaEnabled(DependencyObject element, bool isScrollInertiaEnabled);
function setIsScrollInertiaEnabled(element, isScrollInertiaEnabled)
Public Shared Sub SetIsScrollInertiaEnabled (element As DependencyObject, isScrollInertiaEnabled As Boolean)

參數

element
DependencyObject

要設定屬性值的項目。

isScrollInertiaEnabled
Boolean

bool

要設定的值。

備註

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

適用於

另請參閱