UISegmentedControl.ImageAt(nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.