Android.Views.View.OutlineProvider Property
Returns the current Android.Views.ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping.

Syntax

[get: Android.Runtime.Register("getOutlineProvider", "()Landroid/view/ViewOutlineProvider;", "GetGetOutlineProviderHandler")]
[set: Android.Runtime.Register("setOutlineProvider", "(Landroid/view/ViewOutlineProvider;)V", "GetSetOutlineProvider_Landroid_view_ViewOutlineProvider_Handler")]
public virtual ViewOutlineProvider OutlineProvider { get; set; }

See Also

View.OutlineProvider
View.ClipToOutline
View.ClipToOutline
View.OutlineProvider

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the current Android.Views.ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping.

Set method documentation [Android Documentation]

Sets the Android.Views.ViewOutlineProvider of the view, which generates the Outline that defines the shape of the shadow it casts, and enables outline clipping. The default ViewOutlineProvider, ViewOutlineProvider.Background, queries the Outline from the View's background drawable, via Android.Graphics.Drawables.Drawable.GetOutline(Android.Graphics.Outline). Changing the outline provider with this method allows this behavior to be overridden. If the ViewOutlineProvider is null, if querying it for an outline returns false, or if the produced Outline is Android.Graphics.Outline.IsEmpty, shadows will not be cast. Only outlines that return true from Android.Graphics.Outline.CanClip may be used for clipping.

Requirements

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