ScrollViewer.SetCanContentScroll(DependencyObject, Boolean) Metoda

Definice

Nastaví hodnotu CanContentScroll vlastnosti závislosti na daný prvek.

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)

Parametry

element
DependencyObject

Prvek, u kterého chcete nastavit hodnotu vlastnosti.

canContentScroll
Boolean

Hodnota vlastnosti, kterou chcete nastavit.

Platí pro