Share via


Control.CustomIcon Property

Definition

Optional icon to be shown with the Control.

public Android.Graphics.Drawables.Icon? CustomIcon { [Android.Runtime.Register("getCustomIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getCustomIcon", "()Landroid/graphics/drawable/Icon;", "", ApiSince=30)>]
member this.CustomIcon : Android.Graphics.Drawables.Icon

Property Value

icon to show

Attributes

Remarks

Optional icon to be shown with the Control. It is highly recommended to let the system default the icon unless the default icon is not suitable.

Java documentation for android.service.controls.Control.getCustomIcon().

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