Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / ScrollingContentInfo Property
Example


In This Topic
    ScrollingContentInfo Property
    In This Topic
    Gets or sets the information of the vertical scrolling tip for the sheet.
    Syntax
    'Declaration
     
    Public Property ScrollingContentInfo As ScrollingContentInfo
    'Usage
     
    Dim instance As SheetView
    Dim value As ScrollingContentInfo
     
    instance.ScrollingContentInfo = value
     
    value = instance.ScrollingContentInfo
    public ScrollingContentInfo ScrollingContentInfo {get; set;}
    Example
    This example sets the ScrollingContentInfo property.
    fpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both;
    FarPoint.Win.Spread.ScrollingContentInfo scrollingContentInfo = new FarPoint.Win.Spread.ScrollingContentInfo();
    scrollingContentInfo.ColumnIndices = "0,2";
    scrollingContentInfo.MaxHeight = 100;
    scrollingContentInfo.RowNumberPolicy = FarPoint.Win.Spread.ScrollingContentRowNumberPolicy.Last;
    FarPoint.Win.Spread.SheetView sheetView = fpSpread1.ActiveSheet;
    sheetView.ScrollingContentInfo = scrollingContentInfo;
    FpSpread1.ScrollTipPolicy = FarPoint.Win.Spread.ScrollTipPolicy.Both
    Dim scrollingContentInfo As New FarPoint.Win.Spread.ScrollingContentInfo()
    scrollingContentInfo.ColumnIndices = "0,2"
    scrollingContentInfo.MaxHeight = 100
    scrollingContentInfo.RowNumberPolicy = FarPoint.Win.Spread.ScrollingContentRowNumberPolicy.Last
    Dim sheetView As FarPoint.Win.Spread.SheetView = FpSpread1.ActiveSheet
    sheetView.ScrollingContentInfo = scrollingContentInfo
    See Also