ScrollViewer.SetCanContentScroll(DependencyObject, Boolean) Methode

Definition

Legt den Wert der CanContentScroll Abhängigkeitseigenschaft auf ein bestimmtes Element fest.

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)

Parameter

element
DependencyObject

Das Element, für das der Eigenschaftswert festgelegt werden soll.

canContentScroll
Boolean

Der festzulegende Eigenschaftswert.

Gilt für: