Edytuj

Udostępnij za pośrednictwem


UISlider.SetThumbImage(UIImage, UIControlState) Method

Definition

Specifies the image to be used for the thumb in the specified UIControlState.

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

Parameters

image
UIImage

The thumb image to use for the specified state.

This parameter can be null.

forState
UIControlState

The control state for the image.

Attributes

Remarks

This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.

Applies to