Spread Windows Forms 12.0 Product Documentation
ScrollingContentInfo Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ScrollingContentInfo Class > ScrollingContentInfo Constructor : ScrollingContentInfo Constructor()
Initializes a new instance of the ScrollingContentInfo class.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New ScrollingContentInfo()
public ScrollingContentInfo()
Remarks
Set the ScrollTipPolicy property in order to see the scroll tips.
Example
This example creates a scroll bar text tip.
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;
fpSpread1.Sheets[0].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
FpSpread1.Sheets(0).ScrollingContentInfo = scrollingContentInfo
See Also

Reference

ScrollingContentInfo Class
ScrollingContentInfo Members
Overload List