Edit

Share via


UISegmentedControl.SetDividerImage Method

Definition

Sets the divider image for the specified segment states and bar metrics..

[Foundation.Export("setDividerImage:forLeftSegmentState:rightSegmentState:barMetrics:")]
public virtual void SetDividerImage (UIKit.UIImage dividerImage, UIKit.UIControlState leftSegmentState, UIKit.UIControlState rightSegmentState, UIKit.UIBarMetrics barMetrics);
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

To image to use for the divider.

This parameter can be null.

leftSegmentState
UIControlState

The left segment state.

rightSegmentState
UIControlState

The right segment state.

barMetrics
UIBarMetrics

The bar metrics.

Attributes

Remarks

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

Applies to