Share via


ScrollViewer.SetIsZoomInertiaEnabled(DependencyObject, Boolean) 方法

定義

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

public:
 static void SetIsZoomInertiaEnabled(DependencyObject ^ element, bool isZoomInertiaEnabled);
 static void SetIsZoomInertiaEnabled(DependencyObject const& element, bool const& isZoomInertiaEnabled);
public static void SetIsZoomInertiaEnabled(DependencyObject element, bool isZoomInertiaEnabled);
function setIsZoomInertiaEnabled(element, isZoomInertiaEnabled)
Public Shared Sub SetIsZoomInertiaEnabled (element As DependencyObject, isZoomInertiaEnabled As Boolean)

參數

element
DependencyObject

要設定屬性值的項目。

isZoomInertiaEnabled
Boolean

bool

要設定的值。

備註

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

適用於

另請參閱