Share via


UISegmentedControl.UISegmentedControlAppearance.SetDividerImage Method

Definition

Sets the divider image used for the specified UIControlStates and UIBarMetrics.

[Foundation.Export("setDividerImage:forLeftSegmentState:rightSegmentState:barMetrics:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetDividerImage(UIKit.UIImage? dividerImage, UIKit.UIControlState leftSegmentState, UIKit.UIControlState rightSegmentState, UIKit.UIBarMetrics barMetrics);
[<Foundation.Export("setDividerImage:forLeftSegmentState:rightSegmentState:barMetrics:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetDividerImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIControlState * UIKit.UIBarMetrics -> unit
override this.SetDividerImage : UIKit.UIImage * UIKit.UIControlState * UIKit.UIControlState * UIKit.UIBarMetrics -> unit

Parameters

dividerImage
UIImage
leftSegmentState
UIControlState
rightSegmentState
UIControlState
barMetrics
UIBarMetrics
Attributes

Applies to