Skip to main content
A newer version of this page is available. .

ON.DisplaySize Method

Name Parameters Description
DisplaySize<T>(T, T, T, T, T, Nullable<Size>, Nullable<Size>, Nullable<Size>, Nullable<Size>) static extraSmall, small, medium, large, extraLarge, smallThreshold, mediumThreshold, largeThreshold, extraLargeThreshold Selects the value of a reference type to be applied depending on the device screen size.
DisplaySize<T>(Nullable<T>, Nullable<T>, Nullable<T>, Nullable<T>, Nullable<T>, Nullable<Size>, Nullable<Size>, Nullable<Size>, Nullable<Size>) static extraSmall, small, medium, large, extraLarge, smallThreshold, mediumThreshold, largeThreshold, extraLargeThreshold Selects the value of a value type to be applied depending on the device screen size.