Skip to content
Auto
Products

GridViewScroller

Namespace: TagBites.WinSchedulers.Sections
Assembly: TagBites.WinSchedulers.dll
Product: TagBites.WinSchedulers v. 1.3.8

Provides the base class from which the classes that represent component with scroll are derived.

public abstract class GridViewScroller : TagBites.WinSchedulers.GridViewElement

Inheritance: objectGridViewElement → GridViewScroller

Derived:

protected GridViewScroller()

When overridden in a derived class, gets a number of headers.

public virtual long HeaderCount { get; }

long

A number of headers.

Gets a value that contains the size of the viewable content.

public double ViewportSize { get; }

double

The size of the viewable content. The default is 0.

protected internal virtual double GetCurrentPossition(double avaliableSize)

double

When overridden in a derived class, returns a header at the specified index.

public virtual object GetHeader(long index)
  • index long
    The zero-based index of the header to get.

object

The header at the specified index.

When overridden in a derived class, returns a size of the header at the specified index.

public virtual double GetHeaderSize(long index)
  • index long
    The zero-based index of the header to get.

double

The size of the header at the specified index.

When overridden in a derived class, shifts the content by indicated value of the shift.

public virtual void Scroll(double shift)
  • shift double
    The value by which the content is shifted.

When overridden in a derived class, shifts the content to a header at the specified index and aligns relative to its layout rectangle.

public virtual void ScrollTo(long index, Alignment alignment)
  • index long
    The zero-based index of the header.
  • alignment Alignment
    The alignment of the header relative to its layout rectangle.