UISegmentedControl.SetImage(UIImage, 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.
Set an image for a particular segment.
[Foundation.Export("setImage:forSegmentAtIndex:")]
public virtual void SetImage (UIKit.UIImage image, nint segment);
abstract member SetImage : UIKit.UIImage * nint -> unit
override this.SetImage : UIKit.UIImage * nint -> unit
Parameters
- image
- UIImage
The image to set.
- segment
- System.System.IntPtr System.nativeint
The segment index.
- Attributes