VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) 方法

定义

设置 ScrollUnit 附加属性。

public:
 static void SetScrollUnit(System::Windows::DependencyObject ^ element, System::Windows::Controls::ScrollUnit value);
public static void SetScrollUnit (System.Windows.DependencyObject element, System.Windows.Controls.ScrollUnit value);
static member SetScrollUnit : System.Windows.DependencyObject * System.Windows.Controls.ScrollUnit -> unit
Public Shared Sub SetScrollUnit (element As DependencyObject, value As ScrollUnit)

参数

element
DependencyObject

要对其设置属性的对象。

value
ScrollUnit

指示滚动是否被测量为集合中的项或像素的值。

适用于