Export (0) Print
Expand All

ScrollViewer.SetIsDeferredScrollingEnabled Method

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
)

Parameters

element
Type: System.Windows.DependencyObject

The object on which to set the IsDeferredScrollingEnabled property.

value
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

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP2

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft