Spread Windows Forms 12.0 Product Documentation
AllowCellContentFloat Property (FpSpread)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : AllowCellContentFloat Property
Indicates whether the content of a cell should float when the display rectangle of that cell changes.
Public Property AllowCellContentFloat As Boolean
Dim instance As FpSpread
Dim value As Boolean
instance.AllowCellContentFloat = value
value = instance.AllowCellContentFloat
public bool AllowCellContentFloat {get; set;}

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.

This example sets the AllowCellContentFloat property to true.
fpSpread1.AllowCellContentFloat = true;
fpSpread1.ActiveSheet.AddSpanCell(0, 0, 5, 5);
fpSpread1.ActiveSheet.Cells[0, 0].Text = "Spanned Cell";
FpSpread1.AllowCellContentFloat = True
FpSpread1.ActiveSheet.AddSpanCell(0, 0, 5, 5)
FpSpread1.ActiveSheet.Cells(0, 0).Text = "Spanned Cell"
See Also


FpSpread Class
FpSpread Members