Spread Windows Forms 11.0 Product Documentation
ColumnIndices Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ScrollingContentInfo Class : ColumnIndices Property
Gets or sets column indices for the vertical scrolling tip.
Syntax
'Declaration
 
Public Property ColumnIndices As String
'Usage
 
Dim instance As ScrollingContentInfo
Dim value As String
 
instance.ColumnIndices = value
 
value = instance.ColumnIndices
public string ColumnIndices {get; set;}
Remarks
Set this property to a non empty value in order to use the RowNumberPolicy property. Set the ScrollTipPolicy property in order to see the scroll tips.
Example
This example uses the ColumnIndices 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;
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