Edytuj

Udostępnij za pośrednictwem


UISegmentedControl.SetImage(UIImage, nint) Method

Definition

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

Applies to