共用方式為


UIPickerViewDelegate.GetComponentWidth(UIPickerView, nint) 方法

定義

指定索引處的元件寬度。

[Foundation.Export("pickerView:widthForComponent:")]
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

傳回

屬性

適用於