Share via


UISlider.UISliderAppearance.SetThumbImage(UIImage, UIControlState) Method

Definition

Sets the "thumb image" for the given UIControlState.

[Foundation.Export("setThumbImage:forState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetThumbImage(UIKit.UIImage image, UIKit.UIControlState forState);
[<Foundation.Export("setThumbImage:forState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetThumbImage : UIKit.UIImage * UIKit.UIControlState -> unit
override this.SetThumbImage : UIKit.UIImage * UIKit.UIControlState -> unit

Parameters

image
UIImage
forState
UIControlState
Attributes

Applies to