Spread Windows Forms 7.0 Product Documentation
AllowCellOverflow Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : AllowCellOverflow Property


Glossary Item Box

Gets or sets whether data can overflow into adjacent empty cells in the view.

Syntax

Visual Basic (Declaration) 
Public Property AllowCellOverflow As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SpreadView
Dim value As Boolean
 
instance.AllowCellOverflow = value
 
value = instance.AllowCellOverflow
C# 
public bool AllowCellOverflow {get; set;}

Property Value

Boolean: true to allow data to overflow into adjacent empty cells in the Spread component; false otherwise

Remarks

This property determines whether the display of the data can overflow into adjacent empty cells if the contents go beyond the width of the cell.

When this property is set to true, the following occurs:

  • Left-aligned data in a cell overflows to the adjacent right cell.
  • Right-aligned data in a cell overflows to the adjacent left cell.
  • When data is centered in a cell, data overflows to both the left and right adjacent cells.

This only occurs for empty cells. If the adjacent cell had data, only the contents within the limits of that cell are displayed.

Example

This example sets the AllowCellOverflow property.
C#Copy Code
FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
sv.AllowCellOverflow = true;
VB.NETCopy Code
Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
sv.AllowCellOverflow = True

Requirements

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

See Also

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