UIBarButtonItem.SetTitlePositionAdjustment(UIOffset, UIBarMetrics) 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.
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.