UIKit.UINavigationBar.SetTitleVerticalPositionAdjustment Method
Vertically shifts the location of the title in the navigation bar.

Syntax

[Foundation.Export("setTitleVerticalPositionAdjustment:forBarMetrics:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_5_0)]
public virtual void SetTitleVerticalPositionAdjustment (UIBarMetrics barMetrics, nfloat adjustment)

Parameters

adjustment
An adjustment in logical pixels; negative numbers shift upwards.
barMetrics
The UIKit.UIBarMetrics for which the adjustment applies.

Remarks

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

Requirements

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