次の方法で共有


TextView.LineCount Property

Definition

Return the number of lines of text, or 0 if the internal Layout has not been built.

public virtual int LineCount { [Android.Runtime.Register("getLineCount", "()I", "GetGetLineCountHandler")] get; }
[<get: Android.Runtime.Register("getLineCount", "()I", "GetGetLineCountHandler")>]
member this.LineCount : int

Property Value

Attributes

Remarks

Return the number of lines of text, or 0 if the internal Layout has not been built.

Java documentation for android.widget.TextView.getLineCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to