Spread Windows Forms 10.0 Product Documentation
AllowCellContentFloat Property (SpreadView)
Example 


Gets or sets whether to allow the cell content to float.
Syntax
'Declaration
 
Public Property AllowCellContentFloat As Boolean
'Usage
 
Dim instance As SpreadView
Dim value As Boolean
 
instance.AllowCellContentFloat = value
 
value = instance.AllowCellContentFloat
public bool AllowCellContentFloat {get; set;}
Remarks

Set this property to true to cause the spanned text to stay visible when scrolling part of the span out of the view.

Sparklines, diagonal lines, and other graphic content do not float when setting this property.

Example
This example sets the AllowCellContentFloat property.
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.AllowCellContentFloat = true;
fpSpread1.ActiveSheet.AddSpanCell(0, 0, 5, 5);
fpSpread1.ActiveSheet.Cells[0, 0].Text = "Spanned Cell";
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.AllowCellContentFloat = True
FpSpread1.ActiveSheet.AddSpanCell(0, 0, 5, 5)
FpSpread1.ActiveSheet.Cells(0, 0).Text = "Spanned Cell"
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SpreadView Class
SpreadView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.