Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / VirtualScrollPagingPrevRowCount Property
Example


In This Topic
    VirtualScrollPagingPrevRowCount Property
    In This Topic
    Indicates the number of additional rows that are displayed from previous pages before the top of the current page. The default value is zero. This setting only has an effect when AllowVirtualScrollPaging is true.
    Syntax
    'Declaration
     
    Public Property VirtualScrollPagingPrevRowCount As Integer
    'Usage
     
    Dim instance As SheetView
    Dim value As Integer
     
    instance.VirtualScrollPagingPrevRowCount = value
     
    value = instance.VirtualScrollPagingPrevRowCount
    public int VirtualScrollPagingPrevRowCount {get; set;}
    Example
    This example sets the VirtualScrollPagingPrevRowCount property.
    FpSpread1.ActiveSheetView.RowCount = 50;
    FpSpread1.ActiveSheetView.PageSize = 7;
    FpSpread1.ActiveSheetView.AllowVirtualScrollPaging = true;
    FpSpread1.ActiveSheetView.VirtualScrollPagingPrevRowCount = 5;
    FpSpread1.ActiveSheetView.ScrollingContentVisible = true;
    FpSpread1.ActiveSheetView.ScrollingContentHiddenDelay = 4000;
    FpSpread1.ActiveSheetView.VirtualScrollPagingFormatString = "page {page} of {count}";
    FpSpread1.ActiveSheetView.RowCount = 50
    FpSpread1.ActiveSheetView.PageSize = 7
    FpSpread1.ActiveSheetView.AllowVirtualScrollPaging = True
    FpSpread1.ActiveSheetView.VirtualScrollPagingPrevRowCount = 5
    FpSpread1.ActiveSheetView.ScrollingContentVisible = True
    FpSpread1.ActiveSheetView.ScrollingContentHiddenDelay = 4000
    FpSpread1.ActiveSheetView.VirtualScrollPagingFormatString = "page {page} of {count}"
    See Also