Bewerken

Delen via


UIBarButtonItem.SetTitlePositionAdjustment(UIOffset, UIBarMetrics) Method

Definition

Allows the title to be offset for a specified bar metrics.

[Foundation.Export("setTitlePositionAdjustment:forBarMetrics:")]
public virtual void SetTitlePositionAdjustment (UIKit.UIOffset adjustment, UIKit.UIBarMetrics barMetrics);
abstract member SetTitlePositionAdjustment : UIKit.UIOffset * UIKit.UIBarMetrics -> unit
override this.SetTitlePositionAdjustment : UIKit.UIOffset * UIKit.UIBarMetrics -> unit

Parameters

adjustment
UIOffset

The title offset.

barMetrics
UIBarMetrics

The bar metrics to offset the title for.

Attributes

Remarks

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

Applies to