View.SetWillNotDraw(Boolean) View.SetWillNotDraw(Boolean) Method

Definition

If this view doesn't do any drawing on its own, set this flag to allow further optimizations.

[Android.Runtime.Register("setWillNotDraw", "(Z)V", "GetSetWillNotDraw_ZHandler")]
public virtual void SetWillNotDraw (bool willNotDraw);
abstract member SetWillNotDraw : bool -> unit
override this.SetWillNotDraw : bool -> unit

Parameters

willNotDraw
Boolean Boolean

whether or not this View draw on its own

Remarks

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