[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.LineCount

LineCount Property

LineCount

Gets the total number of lines in the text box.

Declaration
public int LineCount { get; }
Public ReadOnly Property LineCount As Integer
Property Value
Type Description
int

The total number of lines in the text box, or –1 if layout information is not available.

Remarks

If text wrapping is enabled, changing the width of the text box may change this value. The value returned is the total number of lines in the text box, regardless of how many are currently visible.