Spread Windows Forms 13.0 Product Documentation
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / CrLfMode Enumeration
Example Example


In This Topic
    CrLfMode Enumeration
    In This Topic
    Defines the CrLf mode which describes how to process the CrLf char.
    Syntax
    'Declaration
     
    Public Enum CrLfMode 
       Inherits System.Enum
    'Usage
     
    Dim instance As CrLfMode
    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.
    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;
    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

    See Also