VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) Metoda

Definicja

Ustawia dołączoną ScrollUnit właściwość.

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)

Parametry

element
DependencyObject

Obiekt, na który ma zostać ustawiona właściwość .

value
ScrollUnit

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

Dotyczy