語言

ScrollViewer.GetCanContentScroll(DependencyObject) 方法

定義

從給定元素取得依賴性質的值 CanContentScroll 。

public:
 static bool GetCanContentScroll(System::Windows::DependencyObject ^ element);
public static bool GetCanContentScroll(System.Windows.DependencyObject element);
static member GetCanContentScroll : System.Windows.DependencyObject -> bool
Public Shared Function GetCanContentScroll (element As DependencyObject) As Boolean

參數

element
DependencyObject

讀取屬性值的元素。

傳回

true如果這個元素可以滾動;否則,。 false

範例

CanContentScroll

適用於