Freigeben über


View.WillNotDraw Method

Definition

Returns whether or not this View draws on its own.

[Android.Runtime.Register("willNotDraw", "()Z", "GetWillNotDrawHandler")]
public virtual bool WillNotDraw ();
[<Android.Runtime.Register("willNotDraw", "()Z", "GetWillNotDrawHandler")>]
abstract member WillNotDraw : unit -> bool
override this.WillNotDraw : unit -> bool

Returns

true if this view has nothing to draw, false otherwise

Attributes

Remarks

Returns whether or not this View draws on its own.

Java documentation for android.view.View.willNotDraw().

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