Spread Windows Forms 7.0 Product Documentation
ScrollingContentInfo Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ScrollingContentInfo Property


Glossary Item Box

Gets or sets the info of the vertical scrolling tip for the sheet.

Syntax

Visual Basic (Declaration) 
Public Property ScrollingContentInfo As ScrollingContentInfo
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As ScrollingContentInfo
 
instance.ScrollingContentInfo = value
 
value = instance.ScrollingContentInfo
C# 
public ScrollingContentInfo ScrollingContentInfo {get; set;}

Example

This example sets the ScrollingContentInfo property.
C#Copy Code
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;
VB.NETCopy Code
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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.