ScrollViewer.SetCanContentScroll(DependencyObject, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit la valeur de la CanContentScroll propriété de dépendance sur un élément donné.
public:
static void SetCanContentScroll(System::Windows::DependencyObject ^ element, bool canContentScroll);
public static void SetCanContentScroll(System.Windows.DependencyObject element, bool canContentScroll);
static member SetCanContentScroll : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetCanContentScroll (element As DependencyObject, canContentScroll As Boolean)
Paramètres
- element
- DependencyObject
Élément sur lequel définir la valeur de propriété.
- canContentScroll
- Boolean
Valeur de propriété à définir.