Spread for ASP.NET 11 Product Documentation
VirtualScrollPagingFormatString Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : VirtualScrollPagingFormatString Property
Gets or sets the custom format string to show in the text tip during virtual scroll paging. Default pattern is "Page {page} of {count}", where {page} will be replaced for page index and {count} will be replaced for page count.
Syntax
'Declaration
 
Public Property VirtualScrollPagingFormatString As String
'Usage
 
Dim instance As SheetView
Dim value As String
 
instance.VirtualScrollPagingFormatString = value
 
value = instance.VirtualScrollPagingFormatString
public string VirtualScrollPagingFormatString {get; set;}
Remarks
Page is the current page index and count is the total number of pages or page count.
Example
This example sets the VirtualScrollPagingFormatString 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

Reference

SheetView Class
SheetView Members