Class
RowScroller

Implements scrolling logic for a grid's rows

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class RowScroller : ItemScroller<GridViewRowInfo>, IEnumerable, IDisposable

Inheritance: objectItemScroller<GridViewRowInfo>RowScroller

Implements: IDisposableIEnumerable

Inherited Members ItemScroller<GridViewRowInfo>.currentItemWidthItemScroller<GridViewRowInfo>.cachedScrollOffsetItemScroller<GridViewRowInfo>.scrollbarChangedItemScroller<GridViewRowInfo>.Dispose()ItemScroller<GridViewRowInfo>.Dispose(bool)ItemScroller<GridViewRowInfo>.ScrollToItem(GridViewRowInfo)ItemScroller<GridViewRowInfo>.ScrollToItem(GridViewRowInfo, bool)ItemScroller<GridViewRowInfo>.ScrollToBegin()ItemScroller<GridViewRowInfo>.ScrollToEnd()ItemScroller<GridViewRowInfo>.ScrollTo(int)ItemScroller<GridViewRowInfo>.ScrollDown(int)ItemScroller<GridViewRowInfo>.GetScrollHeight(GridViewRowInfo)ItemScroller<GridViewRowInfo>.ScrollUp(int)ItemScroller<GridViewRowInfo>.UpdateScrollValue()ItemScroller<GridViewRowInfo>.UpdateScrollStep()ItemScroller<GridViewRowInfo>.SetScrollBarVisibility()ItemScroller<GridViewRowInfo>.ShowToolTip()ItemScroller<GridViewRowInfo>.GetToolTipText()ItemScroller<GridViewRowInfo>.GetCurrentItemIndex()ItemScroller<GridViewRowInfo>.HideToolTip()ItemScroller<GridViewRowInfo>.AllowHiddenScrollingItemScroller<GridViewRowInfo>.MaxItemWidthItemScroller<GridViewRowInfo>.ScrollStateItemScroller<GridViewRowInfo>.TraverserItemScroller<GridViewRowInfo>.ScrollbarItemScroller<GridViewRowInfo>.ElementProviderItemScroller<GridViewRowInfo>.ScrollModeItemScroller<GridViewRowInfo>.ClientSizeItemScroller<GridViewRowInfo>.ItemHeightItemScroller<GridViewRowInfo>.ItemSpacingItemScroller<GridViewRowInfo>.ScrollOffsetItemScroller<GridViewRowInfo>.PositionItemScroller<GridViewRowInfo>.ToolTipItemScroller<GridViewRowInfo>.AsynchronousScrollingItemScroller<GridViewRowInfo>.ScrollerUpdatedItemScroller<GridViewRowInfo>.ToolTipTextNeeded

Constructors

RowScroller(GridTableElement)

Initialize an instance of RowScroller.

Declaration

cs-api-definition
public RowScroller(GridTableElement tableElement)

Parameters

tableElement

GridTableElement

The associated instance of GridTableElement.

Properties

TableElement

Gets the associated instance of GridTableElement.

Declaration

cs-api-definition
protected GridTableElement TableElement { get; }

Property Value

GridTableElement

Returns the associated instance of GridTableElement..

Methods

OnScrollerUpdated(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnScrollerUpdated(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Overrides ItemScroller<GridViewRowInfo>.OnScrollerUpdated(EventArgs)

OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)

Fired when ToolTip needs text

Declaration

cs-api-definition
protected override void OnToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)

Parameters

sender

object

Event sender

e

ToolTipTextNeededEventArgs

An instance of ToolTipTextNeededEventArgs.

Overrides ItemScroller<GridViewRowInfo>.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)

ScrollToFirstRow()

Scrolls to first row.

Declaration

cs-api-definition
public void ScrollToFirstRow()

ScrollToLastRow()

Scrolls to last row.

Declaration

cs-api-definition
public void ScrollToLastRow()

UpdateOnScroll(ScrollEventArgs)

Updates the on scroll.

Declaration

cs-api-definition
protected override bool UpdateOnScroll(ScrollEventArgs e)

Parameters

e

ScrollEventArgs

The ScrollEventArgs instance containing the event data.

Returns

bool

Overrides ItemScroller<GridViewRowInfo>.UpdateOnScroll(ScrollEventArgs)

UpdateScrollRange()

Updates the scroll range.

Declaration

cs-api-definition
public override void UpdateScrollRange()

Overrides ItemScroller<GridViewRowInfo>.UpdateScrollRange()

UpdateScrollRange(int, bool)

Updates the scroll range with concrete range.

Declaration

cs-api-definition
public override void UpdateScrollRange(int width, bool updateScrollValue)

Parameters

width

int

The width.

updateScrollValue

bool

if set to true [update scroll value].

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