TextBox.LineCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the total number of lines in the text box.
public:
property int LineCount { int get(); };
public int LineCount { get; }
member this.LineCount : int
Public ReadOnly Property LineCount As Integer
Property Value
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.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.