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.GridViewElementInheritance: object → GridViewElement → GridViewScroller
Derived:
Constructors
Section titled “Constructors”GridViewScroller()
Section titled “GridViewScroller()”protected GridViewScroller()Properties
Section titled “Properties”HeaderCount
Section titled “HeaderCount”When overridden in a derived class, gets a number of headers.
public virtual long HeaderCount { get; }Property Value
Section titled “Property Value”A number of headers.
ViewportSize
Section titled “ViewportSize”Gets a value that contains the size of the viewable content.
public double ViewportSize { get; }Property Value
Section titled “Property Value”The size of the viewable content. The default is 0.
Methods
Section titled “Methods”GetCurrentPossition(double)
Section titled “GetCurrentPossition(double)”protected internal virtual double GetCurrentPossition(double avaliableSize)Parameters
Section titled “Parameters”avaliableSizedouble
Returns
Section titled “Returns”GetHeader(long)
Section titled “GetHeader(long)”When overridden in a derived class, returns a header at the specified index.
public virtual object GetHeader(long index)Parameters
Section titled “Parameters”indexlong
The zero-based index of the header to get.
Returns
Section titled “Returns”The header at the specified index.
GetHeaderSize(long)
Section titled “GetHeaderSize(long)”When overridden in a derived class, returns a size of the header at the specified index.
public virtual double GetHeaderSize(long index)Parameters
Section titled “Parameters”indexlong
The zero-based index of the header to get.
Returns
Section titled “Returns”The size of the header at the specified index.
Scroll(double)
Section titled “Scroll(double)”When overridden in a derived class, shifts the content by indicated value of the shift.
public virtual void Scroll(double shift)Parameters
Section titled “Parameters”shiftdouble
The value by which the content is shifted.
ScrollTo(long, Alignment)
Section titled “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 virtual void ScrollTo(long index, Alignment alignment)