ScrollViewer.SetCanContentScroll(DependencyObject, Boolean) Metoda

Definicja

Ustawia wartość CanContentScroll właściwości zależności na dany element.

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

Element, na którym ma zostać ustawiona wartość właściwości.

canContentScroll
Boolean

Wartość właściwości do ustawienia.

Dotyczy