共用方式為


UISegmentedControl.GetContentOffset(nint) 方法

定義

用於繪製指定區段中內容的位移。

[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

要為其擷取內容位移之區段的索引。

傳回

內容位移。

屬性

備註

內容位移用於區段內的文字和影像繪製。

適用於