ערוך

שתף באמצעות


VirtualizingPanel.GetScrollUnit(DependencyObject) Method

Definition

Gets the value of the ScrollUnit property.

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

Parameters

element
DependencyObject

The element to get the ScrollUnit attached property from.

Returns

A value that indicates whether scrolling is measured as items in the collection or as pixels.

Remarks

The default value of the ScrollUnit property is Item.

Applies to