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.ScrollUnitPublic Shared Function GetScrollUnit (element As DependencyObject) As ScrollUnitParameters
- 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.