View.Baseline 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.
Return the offset of the widget's text baseline from the widget's top boundary.
public virtual int Baseline { [Android.Runtime.Register("getBaseline", "()I", "GetGetBaselineHandler")] get; }
[<get: Android.Runtime.Register("getBaseline", "()I", "GetGetBaselineHandler")>]
member this.Baseline : int
Property Value
the offset of the baseline within the widget's bounds or -1 if baseline alignment is not supported
- Attributes
Remarks
Return the offset of the widget's text baseline from the widget's top boundary. If this widget does not support baseline alignment, this method returns -1.
Java documentation for android.view.View.getBaseline()
.
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.