Språk

ScrollViewer.SetCanContentScroll(DependencyObject, Boolean) Metod

Definition

Anger värdet för beroendeegenskapen CanContentScroll till ett visst 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)

Parametrar

element
DependencyObject

Det element som egenskapsvärdet ska anges på.

canContentScroll
Boolean

Egenskapsvärdet som ska anges.

Gäller för