Share via


UIAppearance.GetAppearance 方法

定义

重载

GetAppearance(IntPtr, Type[])

指定包含层次结构中此对象的外观代理。

GetAppearance(IntPtr, UITraitCollection)

返回指定 traits的外观代理。

GetAppearance(IntPtr, UITraitCollection, Type[])

在包含层次结构中找到时,返回指定 traits 的外观 whenFoundIn 代理。

GetAppearance(IntPtr, Type[])

指定包含层次结构中此对象的外观代理。

public static IntPtr GetAppearance (IntPtr class_ptr, params Type[] whenFoundIn);
static member GetAppearance : nativeint * Type[] -> nativeint

参数

class_ptr
IntPtr

nativeint

whenFoundIn
Type[]

返回

IntPtr

nativeint

适用于

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

返回

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

whenFoundIn
Type[]

返回

IntPtr

nativeint

适用于