UIAppearance.GetAppearance 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAppearance(IntPtr, Type[]) |
指定包含层次结构中此对象的外观代理。 |
GetAppearance(IntPtr, UITraitCollection) |
返回指定 |
GetAppearance(IntPtr, UITraitCollection, Type[]) |
在包含层次结构中找到时,返回指定 |
GetAppearance(IntPtr, Type[])
GetAppearance(IntPtr, UITraitCollection)
返回指定 traits
的外观代理。
public static IntPtr GetAppearance (IntPtr class_ptr, UIKit.UITraitCollection traits);
static member GetAppearance : nativeint * UIKit.UITraitCollection -> nativeint
参数
- class_ptr
-
IntPtr
nativeint
- traits
- UITraitCollection
返回
IntPtr
nativeint
适用于
GetAppearance(IntPtr, UITraitCollection, Type[])
在包含层次结构中找到时,返回指定 traits
的外观 whenFoundIn
代理。
public static IntPtr GetAppearance (IntPtr class_ptr, UIKit.UITraitCollection traits, params Type[] whenFoundIn);
static member GetAppearance : nativeint * UIKit.UITraitCollection * Type[] -> nativeint
参数
- class_ptr
-
IntPtr
nativeint
- traits
- UITraitCollection
- whenFoundIn
- Type[]
返回
IntPtr
nativeint