← Back to all blogs

Posts tagged with 'deferred'

Deferred Scrolling in C1FlexGrid WPF

In C1Flexgrid for WPF control or any other grid control, by default, when the user drags the thumb on a scrollbar, the content view gets scrolled simultaneously. However, when the grid contains a large number of rows, scrolling becomes a bit slow. The default behavior of C1FlexGrid is "live" scrolling, where the user is able to see the contents of the grid move while dragging the thumb of a scroll bar. However, this "live" scrolling requires a relatively large amount of processing, which in some cases may cause the UI to feel sluggish. For such situations, C1Flexgrid provides us with an option to use deferred scrolling. Deferred scrolling is an alternative scrolling behavior where the contents of the grid remain static until the user releases the mouse button (similar to the behavior of the Outlook 2007 Inbox). The content is updated only when the user releases the thumb.