UIInterfaceOrientationExtensions 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
UIInterfaceOrientation 枚举的扩展方法。
public static class UIInterfaceOrientationExtensions
type UIInterfaceOrientationExtensions = class
- 继承
-
UIInterfaceOrientationExtensions
注解
此类中的扩展方法提供了一些方便的方法,可用于 UIInterfaceOrientation 类型的枚举。
方法
IsLandscape(UIInterfaceOrientation) |
确定起源是否为横向值之一。 |
IsPortrait(UIInterfaceOrientation) |
确定方向是否为纵向方向之一。 |