OnIdiom<T>.Implicit(OnIdiom<T> to T) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implicitly converts OnIdiom to T, depending on Device.Idiom.
public static implicit operator T (Xamarin.Forms.OnIdiom<T> onIdiom);
static member op_Implicit : Xamarin.Forms.OnIdiom<'T> -> 'T
Parameters
- onIdiom
- OnIdiom<T>
The idiom to convert.
Returns
T
The value of the Phone or Tablet property, depending on the current Device.Idiom.