+bool ScrollBar::OnPanGestureProcessTick()
+{
+ // Update the scroll position property.
+ mScrollPositionObject.SetProperty( Toolkit::ScrollConnector::SCROLL_POSITION, mCurrentScrollPosition );
+
+ Dali::Toolkit::ItemView itemView = Dali::Toolkit::ItemView::DownCast(Self().GetParent());
+ if(itemView)
+ {
+ // Refresh ItemView immediately when the scroll position is changed.
+ GetImpl(itemView).DoRefresh(mCurrentScrollPosition, false); // No need to cache extra items.
+ }
+
+ return true;
+}
+