New to Telerik UI for WinFormsStart a free 30-day trial

Represents an item scroller in RadVirtualGrid.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class VirtualGridItemScroller : ItemScroller<int>, IEnumerable, IDisposable

Inheritance: objectItemScroller<int>VirtualGridItemScroller

Implements: IDisposableIEnumerable

Inherited Members ItemScroller<int>.currentItemWidthItemScroller<int>.cachedScrollOffsetItemScroller<int>.scrollbarChangedItemScroller<int>.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)ItemScroller<int>.OnScrollerUpdated(EventArgs)ItemScroller<int>.Dispose()ItemScroller<int>.Dispose(bool)ItemScroller<int>.ScrollToItem(int)ItemScroller<int>.ScrollToBegin()ItemScroller<int>.ScrollToEnd()ItemScroller<int>.IsScrolledToEnd()ItemScroller<int>.ScrollToMaxValue()ItemScroller<int>.ScrollTo(int)ItemScroller<int>.UpdateOnScroll(ScrollEventArgs)ItemScroller<int>.UpdateScrollValue()ItemScroller<int>.UpdateScrollStep()ItemScroller<int>.SetScrollBarVisibility()ItemScroller<int>.ShowToolTip()ItemScroller<int>.GetToolTipText()ItemScroller<int>.GetCurrentItemIndex()ItemScroller<int>.HideToolTip()ItemScroller<int>.AllowHiddenScrollingItemScroller<int>.MaxItemWidthItemScroller<int>.ScrollStateItemScroller<int>.TraverserItemScroller<int>.ScrollbarItemScroller<int>.ElementProviderItemScroller<int>.ScrollModeItemScroller<int>.ClientSizeItemScroller<int>.ItemHeightItemScroller<int>.ItemSpacingItemScroller<int>.ScrollOffsetItemScroller<int>.PositionItemScroller<int>.ToolTipItemScroller<int>.AsynchronousScrollingItemScroller<int>.ScrollerUpdatedItemScroller<int>.ToolTipTextNeeded...

Constructors

Initializes a new instance of the VirtualGridItemScroller class.

C#
public VirtualGridItemScroller(VirtualGridTableViewState viewState)
Parameters:viewStateVirtualGridTableViewState

State of the view.

Methods

Gets the item offset.

C#
public int GetItemOffset(int item)
Parameters:itemint

The item.

Returns:

int

Gets the height of the scroll.

C#
public override int GetScrollHeight(int item)
Parameters:itemint

The item.

Returns:

int

Overrides: ItemScroller<int>.GetScrollHeight(int)

Scrolls down with the specified step.

C#
protected override bool ScrollDown(int step)
Parameters:stepint

The step.

Returns:

bool

Overrides: ItemScroller<int>.ScrollDown(int)

Scrolls to item.

C#
public override bool ScrollToItem(int item, bool checkScrollVisibility)
Parameters:itemint

The item.

checkScrollVisibilitybool

if set to true scroll visibility is checked before processing scrolling.

Returns:

bool

Overrides: ItemScroller<int>.ScrollToItem(int, bool)

Scrolls up.

C#
protected override bool ScrollUp(int step)
Parameters:stepint

The step.

Returns:

bool

Overrides: ItemScroller<int>.ScrollUp(int)

Updates the scroll range.

C#
public override void UpdateScrollRange()

Overrides: ItemScroller<int>.UpdateScrollRange()

Updates the scroll range with concrete range.

C#
public override void UpdateScrollRange(int width, bool updateScrollValue)
Parameters:widthint

The width.

updateScrollValuebool

if set to true [update scroll value].

Overrides: ItemScroller<int>.UpdateScrollRange(int, bool)