Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / Lines Property


In This Topic
    Lines Property (GcTextBox)
    In This Topic
    Gets or sets the lines of text in a GcTextBox control.
    Syntax
    'Declaration
     
    
    Public Property Lines As String()
    'Usage
     
    
    Dim instance As GcTextBox
    Dim value() As String
     
    instance.Lines = value
     
    value = instance.Lines
    public string[] Lines {get; set;}

    Property Value

    An array of strings that contains the text in the control.
    Remarks
    Each element in the array becomes a line of text in the text box control. If the property of the edit control is set to true and a newline character appears in the text, the text following the newline character is added to a new element in the array and displayed on a separate line.
    See Also