ON.DisplaySize<T>(T, T, T, T, T, Nullable<Size>, Nullable<Size>, Nullable<Size>, Nullable<Size>) Method
Selects the value of a reference type to be applied depending on the device screen size.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
#Declaration
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
extra |
T | null | The value to be applied on devices with the Extra Small size class. |
small | T | null | The value to be applied on devices with the Small screen size class. |
medium | T | null | The value to be applied on devices with the Medium screen size class. |
large | T | null | The value to be applied on devices with the Large screen size class. |
extra |
T | null | The value to be applied on devices with the Extra Large screen size class. |
small |
Nullable<Size> | null | Specifies the lower boundary that restrains the Small screen size class. |
medium |
Nullable<Size> | null | Specifies the lower boundary that restrains the Medium screen size class. |
large |
Nullable<Size> | null | Specifies the lower boundary that restrains the Large screen size class. |
extra |
Nullable<Size> | null | Specifies the lower boundary that restrains the Extra Large screen size class. |
#Type Parameters
Name | Description |
---|---|
T | The reference type. |
#Returns
Type | Description |
---|---|
T | The value selected based on the device screen size class. |