Spread Windows Forms 11.0 Product Documentation
MaxHeight Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > ScrollingContentInfo Class : MaxHeight Property
Gets or sets the maximum height in pixels for the vertical scrolling tip.
Syntax
'Declaration
 
Public Property MaxHeight As Integer
'Usage
 
Dim instance As ScrollingContentInfo
Dim value As Integer
 
instance.MaxHeight = value
 
value = instance.MaxHeight
public int MaxHeight {get; set;}
Example
This example sets the MaxHeight 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