VirtualizingPanel.GetScrollUnit(DependencyObject) Metoda

Definicja

Pobiera wartość ScrollUnit właściwości.

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

Parametry

element
DependencyObject

Element umożliwiający pobranie dołączonej ScrollUnit właściwości z.

Zwraca

ScrollUnit

Wartość wskazująca, czy przewijanie jest mierzone jako elementy w kolekcji, czy jako piksele.

Uwagi

Wartość domyślna ScrollUnit właściwości to Item.

Dotyczy