Upravit

Sdílet prostřednictvím


UISegmentedControl.ImageAt(nint) Method

Definition

Retrieves the image used in a particular segment

[Foundation.Export("imageForSegmentAtIndex:")]
public virtual UIKit.UIImage ImageAt (nint segment);
abstract member ImageAt : nint -> UIKit.UIImage
override this.ImageAt : nint -> UIKit.UIImage

Parameters

segment
System.System.IntPtr System.nativeint

The segment to return the image for.

Returns

The image for the specified segment.

Attributes

Remarks

The segment indices start at 0. If a segment index is specified beyond the upper range of segments in the control, the image of the segment at the upper range will be returned.

Applies to