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

Implements scrolling logic for a grid's rows

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
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>.IsScrolledToEnd()ItemScroller<GridViewRowInfo>.ScrollToMaxValue()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

Initialize an instance of RowScroller.

C#
public RowScroller(GridTableElement tableElement)
Parameters:tableElementGridTableElement

The associated instance of GridTableElement.

Properties

Gets the associated instance of GridTableElement.

C#
protected GridTableElement TableElement { get; }
Property Value:

Returns the associated instance of GridTableElement..

Methods

Raises the event.

C#
protected override void OnScrollerUpdated(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Overrides: ItemScroller<GridViewRowInfo>.OnScrollerUpdated(EventArgs)

Fired when ToolTip needs text

C#
protected override void OnToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
Parameters:senderobject

Event sender

eToolTipTextNeededEventArgs

An instance of ToolTipTextNeededEventArgs.

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

Scrolls to first row.

C#
public void ScrollToFirstRow()

Scrolls to last row.

C#
public void ScrollToLastRow()

Updates the on scroll.

C#
protected override bool UpdateOnScroll(ScrollEventArgs e)
Parameters:eScrollEventArgs

The ScrollEventArgs instance containing the event data.

Returns:

bool

Overrides: ItemScroller<GridViewRowInfo>.UpdateOnScroll(ScrollEventArgs)

Updates the scroll range.

C#
public override void UpdateScrollRange()

Overrides: ItemScroller<GridViewRowInfo>.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<GridViewRowInfo>.UpdateScrollRange(int, bool)