UISlider.MaxTrackImage(UIControlState) Method

Definition

Returns the maximum track UIImage that is used for the provided control state.

[Foundation.Export("maximumTrackImageForState:")]
public virtual UIKit.UIImage MaxTrackImage (UIKit.UIControlState forState);
abstract member MaxTrackImage : UIKit.UIControlState -> UIKit.UIImage
override this.MaxTrackImage : UIKit.UIControlState -> UIKit.UIImage

Parameters

forState
UIControlState

The control state for the maximum track image.

Returns

Attributes

Remarks

Will return null if there are no track images for the control state.

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

Applies to