SetIsDeferredScrollingEnabled Method

ScrollViewer.SetIsDeferredScrollingEnabled Method (DependencyObject, Boolean)


Sets the IsDeferredScrollingEnabled property for the specified object.

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

public static void SetIsDeferredScrollingEnabled(
	DependencyObject element,
	bool value


Type: System.Windows.DependencyObject

The object on which to set the IsDeferredScrollingEnabled property.

Type: System.Boolean

true to have the content remain stationary when the user drags the Thumb of a ScrollBar; otherwise, false.

Displaying a large number of items may cause performance issues. In this case, it might be useful to use deferred scrolling. For more information, see Optimizing Performance: Controls.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft