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

Syntax

[Android.Runtime.Register("setWillNotDraw", "(Z)V", "GetSetWillNotDraw_ZHandler")]
public virtual void SetWillNotDraw (bool willNotDraw)

Parameters

willNotDraw
whether or not this View draw on its own

Remarks

If this view doesn't do any drawing on its own, set this flag to allow further optimizations. By default, this flag is not set on View, but could be set on some View subclasses such as ViewGroup. Typically, if you override View.OnDraw(Android.Graphics.Canvas) you should clear this flag.

[Android Documentation]

Requirements

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