API Documentation

GridViewScroller

Namespace: TagBites.WinSchedulers.Sections
Assembly: TagBites.WinSchedulers.dll

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

public abstract class GridViewScroller : TagBites.WinSchedulers.GridViewElement

Constructors

GridViewScroller()

protected void GridViewScroller()

Result Type: void

Properties

HeaderCount

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

public long HeaderCount { get; }

Result Type: long

ViewportSize

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

public double ViewportSize { get; }

Result Type: double

Methods

GetCurrentPossition(double)

protected internal double GetCurrentPossition(double avaliableSize)

Result Type: double

Parameters

TypeName
doubleavaliableSize

GetHeader(long)

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

public object GetHeader(long index)

Result Type: object

Parameters

TypeName
longindexThe zero-based index of the header to get.

GetHeaderSize(long)

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

public double GetHeaderSize(long index)

Result Type: double

Parameters

TypeName
longindexThe zero-based index of the header to get.

Scroll(double)

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

public void Scroll(double shift)

Result Type: void

Parameters

TypeName
doubleshiftThe value by which the content is shifted.

ScrollTo(long, Alignment)

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

public void ScrollTo(long index, Alignment alignment)

Result Type: void

Parameters

TypeName
longindexThe zero-based index of the header.
AlignmentalignmentThe alignment of the header relative to its layout rectangle.