Android Guides | Samples

Android.Graphics.Drawables.Drawable.IntrinsicHeight Property

Return the intrinsic height of the underlying drawable object.

Syntax

[get: Android.Runtime.Register("getIntrinsicHeight", "()I", "GetGetIntrinsicHeightHandler")]
public virtual Int32 IntrinsicHeight { get; }

Remarks

Return the intrinsic height of the underlying drawable object. Returns -1 if it has no intrinsic height, such as with a solid color.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1