Edit

Share via


UISegmentedControl.GetContentOffset(nint) Method

Definition

The offset used for drawing content in a specified segment.

[Foundation.Export("contentOffsetForSegmentAtIndex:")]
public virtual CoreGraphics.CGSize GetContentOffset (nint segment);
abstract member GetContentOffset : nint -> CoreGraphics.CGSize
override this.GetContentOffset : nint -> CoreGraphics.CGSize

Parameters

segment
System.System.IntPtr System.nativeint

The index of the segment to retrieve the content offset for.

Returns

The content offset.

Attributes

Remarks

The content offset is used for both text and image drawing within a segment.

Applies to