Gets or sets a value that indicates how to process the CrLf characters when copying, cutting, or pasting a string.
Syntax
Visual Basic (Declaration) | |
---|
Public Property AcceptsCrLf As CrLfMode |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GcTextBoxCellType
Dim value As CrLfMode
instance.AcceptsCrLf = value
value = instance.AcceptsCrLf |
C# | |
---|
public CrLfMode AcceptsCrLf {get; set;} |
Property Value
A
CrLfMode enumeration that indicates which mode the CrLf characters use when copying, cutting, and pasting a string.
The default is
CrLfMode.NoControl.
Exceptions
Remarks
Example
This example uses the AcceptsCrLf property.
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.NET | Copy 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 |
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