VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) Method

定義

ScrollUnit 添付プロパティを設定します。Sets the ScrollUnit attached property.

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 DependencyObject DependencyObject DependencyObject

プロパティを設定するオブジェクト。The object to set the property on.

value
ScrollUnit ScrollUnit ScrollUnit ScrollUnit

スクロールがコレクション内の項目またはピクセルとして測定されるかどうかを示す値。A value that indicates whether scrolling is measured as items in the collection or as pixels.

適用対象