Spread Windows Forms 7.0 Product Documentation
CrLfMode Enumeration
Example  See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace : CrLfMode Enumeration


Glossary Item Box

Defines the CrLf mode which describes how to process the CrLf char.

Syntax

Visual Basic (Declaration) 
Public Enum CrLfMode 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As CrLfMode
C# 
public enum CrLfMode : System.Enum 

Members

MemberDescription
CutCuts the following strings from the first CrLf character in copied, cut, and pasted strings.
FilterRemoves all CrLf characters in copied, cut, or pasted strings.
NoControlAccepts all CrLf characters in copied, cut, or pasted strings.

Example

This example uses the CrLfMode enumeration.
C#Copy Code
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell1.Multiline = true;
inputcell1.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut;
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
VB.NETCopy Code
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType
inputcell1.Multiline = True
inputcell1.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut
FpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.CrLfMode

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.