Share via


UISegmentedControl.SetContentPositionAdjustment Method

Definition

Sets the position adjustment for the specified UISegmentedControlSegment and UIBarMetrics.

[Foundation.Export("setContentPositionAdjustment:forSegmentType:barMetrics:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetContentPositionAdjustment(UIKit.UIOffset adjustment, UIKit.UISegmentedControlSegment leftCenterRightOrAlone, UIKit.UIBarMetrics barMetrics);
[<Foundation.Export("setContentPositionAdjustment:forSegmentType:barMetrics:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetContentPositionAdjustment : UIKit.UIOffset * UIKit.UISegmentedControlSegment * UIKit.UIBarMetrics -> unit
override this.SetContentPositionAdjustment : UIKit.UIOffset * UIKit.UISegmentedControlSegment * UIKit.UIBarMetrics -> unit

Parameters

adjustment
UIOffset
leftCenterRightOrAlone
UISegmentedControlSegment
barMetrics
UIBarMetrics
Attributes

Applies to