Share via


VirtualizingPanel.SetScrollUnit(DependencyObject, ScrollUnit) Méthode

Définition

Définit la propriété jointe 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)

Paramètres

element
DependencyObject

Objet sur lequel la propriété doit être définie.

value
ScrollUnit

Valeur qui indique si le défilement est mesuré en tant qu'éléments dans la collection ou en tant que pixels.

S’applique à