UISegmentedControl.ImageAt(nint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取特定區段中使用的影像
[Foundation.Export("imageForSegmentAtIndex:")]
public virtual UIKit.UIImage ImageAt (nint segment);
abstract member ImageAt : nint -> UIKit.UIImage
override this.ImageAt : nint -> UIKit.UIImage
參數
- segment
- System.System.IntPtr System.nativeint
要傳回影像的區段。
傳回
指定區段的影像。
- 屬性
備註
區段索引從 0 開始。 如果指定的區段索引超出控制項中區段的上限範圍,則會傳回上範圍區段的影像。