Android.Views.View.OnSetAlpha Method
Invoked if there is a Transform that involves alpha.

Syntax

[Android.Runtime.Register("onSetAlpha", "(I)Z", "GetOnSetAlpha_IHandler")]
protected virtual bool OnSetAlpha (int alpha)

Parameters

alpha
The alpha (0..255) to apply to the view's drawing

Returns

Documentation for this section has not yet been entered.

Remarks

Invoked if there is a Transform that involves alpha. Subclass that can draw themselves with the specified alpha should return true, and then respect that alpha when their onDraw() is called. If this returns false then the view may be redirected to draw into an offscreen buffer to fulfill the request, which will look fine, but may be slower than if the subclass handles it internally. The default implementation returns false.

[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