Calendar for WinForms | ComponentOne
C1.Win.Calendar Namespace / C1DateEdit Class / MaxLineCount Property

In This Topic
    MaxLineCount Property (C1DateEdit)
    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 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