Android.Graphics.Drawables.Drawable.SetVisible Method
Set whether this Drawable is visible.

Syntax

[Android.Runtime.Register("setVisible", "(ZZ)Z", "GetSetVisible_ZZHandler")]
public virtual bool SetVisible (bool visible, bool restart)

Parameters

visible
Set to true if visible, false if not.
restart
You can supply true here to force the drawable to behave as if it has just become visible, even if it had last been set visible. Used for example to force animations to restart.

Returns

Documentation for this section has not yet been entered.

Remarks

Set whether this Drawable is visible. This generally does not impact the Drawable's behavior, but is a hint that can be used by some Drawables, for example, to decide whether run animations.

[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