Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcTextBox Class / MaxLineCount Property


In This Topic
    MaxLineCount Property
    In This Topic
    Gets or sets the maximum counts of acceptable lines.
    Syntax
    'Declaration
     
    Public Property MaxLineCount As Integer
    'Usage
     
    Dim instance As GcTextBox
    Dim value As Integer
     
    instance.MaxLineCount = value
     
    value = instance.MaxLineCount
    public int MaxLineCount {get; set;}

    Property Value

    A System.Int32 value indicate the maximum counts of lines.
    The default is zero.
    Remarks
    This MaxLineCount limits the acceptable lines of text when the CountWrappedLine property is true and the Multiline property is true too. The default value of this property, zero, means no limit.
    See Also