Edit

Share via


UISegmentedControl.DividerImageForLeftSegmentStaterightSegmentStatebarMetrics Method

Definition

Retrieves the divider image between the segments.

[Foundation.Export("dividerImageForLeftSegmentState:rightSegmentState:barMetrics:")]
public virtual UIKit.UIImage DividerImageForLeftSegmentStaterightSegmentStatebarMetrics (UIKit.UIControlState leftState, UIKit.UIControlState rightState, UIKit.UIBarMetrics barMetrics);
abstract member DividerImageForLeftSegmentStaterightSegmentStatebarMetrics : UIKit.UIControlState * UIKit.UIControlState * UIKit.UIBarMetrics -> UIKit.UIImage
override this.DividerImageForLeftSegmentStaterightSegmentStatebarMetrics : UIKit.UIControlState * UIKit.UIControlState * UIKit.UIBarMetrics -> UIKit.UIImage

Parameters

leftState
UIControlState

The left segment's control state to return the divider image for.

rightState
UIControlState

To right segments control state to return the divider image for.

barMetrics
UIBarMetrics

The bar metrics to return the divider image for.

Returns

The divider image for the specified segmnts control states and bar metrics.

Attributes

Remarks

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

Applies to