ScrollViewer.IsScrollInertiaEnabled 屬性

定義

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

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

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

屬性值

Boolean

bool

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

備註

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

適用於

另請參閱