VirtualizingPanel.GetScrollUnit(DependencyObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該房產的價值 ScrollUnit 。
public:
static System::Windows::Controls::ScrollUnit GetScrollUnit(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.ScrollUnit GetScrollUnit(System.Windows.DependencyObject element);
static member GetScrollUnit : System.Windows.DependencyObject -> System.Windows.Controls.ScrollUnit
Public Shared Function GetScrollUnit (element As DependencyObject) As ScrollUnit
參數
- element
- DependencyObject
取得 ScrollUnit 附加財產的元素。
傳回
這是一個表示捲動是以集合中的項目還是像素來衡量的值。
備註
屬性的 ScrollUnit 預設值為 Item。