OnIdiom<T>.Implicit(OnIdiom<T> to T) Operator

Definition

Implicitly converts OnIdiom to T, depending on Device.Idiom.

public static implicit operator T (Xamarin.Forms.OnIdiom<T> onIdiom);

Parameters

onIdiom
OnIdiom<T>

The idiom to convert.

Returns

T

The value of the Phone or Tablet property, depending on the current Device.Idiom.

Applies to

Product Versions
Xamarin.Forms Latest