[]
Gets or sets a value indicating how to process the CrLf chars when pasting string. This is a dependency property.
public CrLfMode AcceptsCrLf { get; set; }
Public Property AcceptsCrLf As CrLfMode
Type | Description |
---|---|
CrLfMode | A GrapeCity.Windows.InputMan.CrLfMode enumeration indicates how the CrLf chars will be processed when paste string into GcTextBox.
|
This property only works when Multiline is false. When setting AcceptsCrLf to GrapeCity.Windows.InputMan.CrLfMode.Cut, only the substring before the first CrLf char will be kept when pasting; when setting AcceptsCrLf to GrapeCity.Windows.InputMan.CrLfMode.Filter, the CrLf chars in the source string will be removed.
Type | Condition |
---|---|
ArgumentException | Value is not defined in GrapeCity.Windows.InputMan.CrLfMode enumeration. |