Visual Basic (Declaration) | |
---|---|
Public Property ColumnIndices As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ScrollingContentInfo Dim value As String instance.ColumnIndices = value value = instance.ColumnIndices |
C# | |
---|---|
public string ColumnIndices {get; set;} |
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.
This example uses the ColumnIndices 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; fpSpread1.Sheets[0].ScrollingContentInfo = scrollingContentInfo; |
Visual Basic | Copy 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 FpSpread1.Sheets(0).ScrollingContentInfo = scrollingContentInfo |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2