ComponentOne Input for WinForms
C1.Win.C1Input.4.8 Assembly / C1.Win.C1Input Namespace / C1DropDownControl Class / MaxLineCount Property

In This Topic
    MaxLineCount Property (C1DropDownControl)
    In This Topic
    Gets or sets the maximum number of lines.
    Syntax
    'Declaration
     
    Public Property MaxLineCount As Integer
    public int MaxLineCount {get; set;}

    Property Value

    An int value that indicates the maximum number of lines.
    The default is zero.
    Remarks

    MaxLineCount limits the acceptable lines of text when the C1TextBox.Multiline property is true.

    This property does not work with wrapped lines, so preferrable is to use MaxLineCount when System.Windows.Forms.TextBoxBase.WordWrap property is true.

    The default value of this property, zero, means no limit.

    See Also