UISegmentedControl.GetContentOffset(nint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用於繪製指定區段中內容的位移。
[Foundation.Export("contentOffsetForSegmentAtIndex:")]
public virtual CoreGraphics.CGSize GetContentOffset (nint segment);
abstract member GetContentOffset : nint -> CoreGraphics.CGSize
override this.GetContentOffset : nint -> CoreGraphics.CGSize
參數
- segment
- System.System.IntPtr System.nativeint
要為其擷取內容位移之區段的索引。
傳回
內容位移。
- 屬性
備註
內容位移用於區段內的文字和影像繪製。