UIPickerViewModel.GetComponentWidth(UIPickerView, nint) 方法

定义

指定组件的宽度。

[Foundation.Export("pickerView:widthForComponent:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nfloat GetComponentWidth (UIKit.UIPickerView pickerView, nint component);
abstract member GetComponentWidth : UIKit.UIPickerView * nint -> nfloat
override this.GetComponentWidth : UIKit.UIPickerView * nint -> nfloat

参数

pickerView
UIPickerView
component
System.System.IntPtr System.nativeint

返回

属性

适用于