Skip to main content

ON.Platform<T>(T, T) Method

Selects the value to be applied depending on the platform on which the app is running.

Namespace: DevExpress.Maui.Core

Assembly: DevExpress.Maui.Core.dll

NuGet Package: DevExpress.Maui.Core

Declaration

public static T Platform<T>(
    T android,
    T iOS
)

Parameters

Name Type Description
android T

The value to be applied on devices running Android.

iOS T

The value to be applied on devices running iOS.

Type Parameters

Name Description
T

The reference type.

Returns

Type Description
T

The value selected based on the platform.

See Also