ScrollViewer.IsScrollInertiaEnabled Propriété

Définition

Obtient ou définit une valeur qui indique si les actions de défilement doivent inclure l’inertie dans leur comportement et leur valeur.

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"/>

Valeur de propriété

Boolean

bool

true si les actions de défilement doivent inclure l’inertie dans leur comportement et leur valeur ; sinon, false.

Remarques

Pour une utilisation XAML, IsScrollInertiaEnabled peut être un attribut sur un élément ScrollViewer explicite ou une utilisation de propriété jointe ScrollViewer.IsScrollInertiaEnabled sur un élément enfant d’un contrôle qui prend implicitement en charge scrollview dans son modèle.

S’applique à

Voir aussi