Spread Windows Forms 12.0 Product Documentation
RowNumberPolicy Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ScrollingContentInfo Class : RowNumberPolicy Property
Gets or sets the policy that controls how to display row numbers in the vertical scrolling tip when the ColumnIndices property is not empty.
Syntax
'Declaration
 
Public Property RowNumberPolicy As ScrollingContentRowNumberPolicy
'Usage
 
Dim instance As ScrollingContentInfo
Dim value As ScrollingContentRowNumberPolicy
 
instance.RowNumberPolicy = value
 
value = instance.RowNumberPolicy
public ScrollingContentRowNumberPolicy RowNumberPolicy {get; set;}
Example
This example sets the RowNumberPolicy 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