ScrollViewer.IsZoomInertiaEnabled 屬性

定義

取得或設定值,這個值表示縮放動作是否應該在其行為和值中包含慣性。

public:
 property bool IsZoomInertiaEnabled { bool get(); void set(bool value); };
bool IsZoomInertiaEnabled();

void IsZoomInertiaEnabled(bool value);
public bool IsZoomInertiaEnabled { get; set; }
var boolean = scrollViewer.isZoomInertiaEnabled;
scrollViewer.isZoomInertiaEnabled = boolean;
Public Property IsZoomInertiaEnabled As Boolean
<ScrollViewer IsZoomInertiaEnabled="bool" />
-or-
<object ScrollViewer.IsZoomInertiaEnabled="bool"/>

屬性值

Boolean

bool

如果縮放動作應該在其行為和值中包含慣性,則為true;否則為false

備註

針對 XAML 使用方式,IsZoomInertiaEnabled 可以是明確 ScrollViewer 元素上的屬性,或是 ScrollViewer.IsZoomInertiaEnabled 附加屬性使用方式,該元素是在其範本中隱含支援 scrollview 之控制項的子系。

適用於

另請參閱