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

要检索其内容偏移量的段的索引。

返回

内容偏移量。

属性

注解

内容偏移量用于段内的文本和图像绘制。

适用于