UISegmentedControl.SetContentPositionAdjustment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the offset for the content of a given segment for the specified bar metrics.
[Foundation.Export("setContentPositionAdjustment:forSegmentType:barMetrics:")]
public virtual void SetContentPositionAdjustment (UIKit.UIOffset adjustment, UIKit.UISegmentedControlSegment leftCenterRightOrAlone, UIKit.UIBarMetrics barMetrics);
abstract member SetContentPositionAdjustment : UIKit.UIOffset * UIKit.UISegmentedControlSegment * UIKit.UIBarMetrics -> unit
override this.SetContentPositionAdjustment : UIKit.UIOffset * UIKit.UISegmentedControlSegment * UIKit.UIBarMetrics -> unit
Parameters
- leftCenterRightOrAlone
- UISegmentedControlSegment
The segment identifier to apply the offset to.
- barMetrics
- UIBarMetrics
To bar metrics to set the postion offset for.
- Attributes
Remarks
This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.