VirtualizingPanel.GetScrollUnit(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.