ScrollingMode Property

Determines whether the records being displayed are updated while the scroll thumb is being dragged.
Public Property ScrollingMode As ScrollingMode
public ScrollingMode ScrollingMode {get; set;}

This property affects the scroll thumb of the vertical scrollbar when the GridViewSettings.Orientation is set to Vertical and the scroll thumb of the horizontal scrollbar when the Orientation is set to Horizontal. When set to DeferredWithScrollTips, which is the default value, or Deferred, the records displayed in the grid will not be updated until the mouse is released. When set to Immediate, no scroll tip will be displayed and the records displayed will be updated while the scroll thumb is being dragged.

For DeferredWithScrollTips, a tooltip adjacent to the original position of the scroll thumb will be displayed that contains information about the Record that will become the new top record when the mouse is released. The scrolltip contains information about the new TopRecord and its ancestors. The information displayed by default is based on the type of record. For DataRecord, the information is that of the FieldLayout.ScrollTipField of the Record.FieldLayout. For GroupByRecord and ExpandableFieldRecord, it will be the GroupByRecord.Description. The scrolltip contents can be controlled by creating a new System.Windows.HierarchicalDataTemplate for the RecordScrollTipInfo class. The scroll tip can be styled by restyling the RecordScrollTip class.

Note: When set to DeferredWithScrollTips or Deferred, scrolling of records will not take place until the mouse has been released.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also