Edytuj

Udostępnij za pośrednictwem


UISegmentedControl.SetContentOffset(CGSize, nint) Method

Definition

Sets the content offset for a specified segment.

[Foundation.Export("setContentOffset:forSegmentAtIndex:")]
public virtual void SetContentOffset (CoreGraphics.CGSize offset, nint segment);
abstract member SetContentOffset : CoreGraphics.CGSize * nint -> unit
override this.SetContentOffset : CoreGraphics.CGSize * nint -> unit

Parameters

offset
CGSize

The content offset.

segment
System.System.IntPtr System.nativeint

The segment index.

Attributes

Remarks

The content offset is used when drawing both text and images in the segment.

Applies to