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


Glossary Item Box

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

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

Example

This example sets the RowNumberPolicy 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 BasicCopy 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

Requirements

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

See Also

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