語言

ScrollViewer.SetCanContentScroll(DependencyObject, Boolean) 方法

定義

將依賴性質的值 CanContentScroll 設定為給定元素。

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)

參數

element
DependencyObject

設定屬性值的元素。

canContentScroll
Boolean

要設定的房產價值。

適用於