Edit

Share via


UISlider.SetMaxTrackImage(UIImage, UIControlState) Method

Definition

Will specify the a maximum track image for a given control state.

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

Parameters

image
UIImage

The image to use for the maximum track 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