UIKit.UIBarButtonItem.SetTitlePositionAdjustment Method
Allows the title to be offset for a specified bar metrics.

Syntax

[Foundation.Export("setTitlePositionAdjustment:forBarMetrics:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void SetTitlePositionAdjustment (UIOffset adjustment, UIBarMetrics barMetrics)

Parameters

adjustment
The title offset.
barMetrics
The bar metrics to offset the title for.

Remarks

This member participates in the UIKit.UIAppearance styling system. See the UIBarButtonItem.Appearance property and the UIBarButtonItem.AppearanceWhenContainedIn method.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0