SetScrollUnit Method

VirtualizingPanel.SetScrollUnit Method (DependencyObject, ScrollUnit)

.NET Framework (current version)
 

Sets the ScrollUnit attached property.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void SetScrollUnit(
	DependencyObject element,
	ScrollUnit value
)

Parameters

element
Type: System.Windows.DependencyObject

The object to set the property on.

value
Type: System.Windows.Controls.ScrollUnit

A value that indicates whether scrolling is measured as items in the collection or as pixels.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft