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


In This Topic
    CountWrappedLine Property
    In This Topic
    Gets or sets a System.Boolean value that indicates whether to count the wrapped line when limit the count of lines counted by MaxLineCount property. This is a dependency property.
    Syntax
    'Declaration
     
    Public Property CountWrappedLine As Boolean
    'Usage
     
    Dim instance As GcTextBox
    Dim value As Boolean
     
    instance.CountWrappedLine = value
     
    value = instance.CountWrappedLine
    public bool CountWrappedLine {get; set;}

    Property Value

    true if counts the wrapped line; otherwise, false.
    The default is false.
    Remarks
    If set this CountWrappedLine property to true, set GrapeCity.Windows.InputMan.GcTextBox.Multiline property to true, and set the GrapeCity.Windows.InputMan.GcTextBox.MaxLineCount property to a non-zero value. This GcTextBox only accepts the texts which lines is less than the value of GrapeCity.Windows.InputMan.GcTextBox.MaxLineCount.
    See Also