UIKit.UIBarButtonItem.SetBackgroundVerticalPositionAdjustment Method
Allows the background image to be offset for the specified bar metrics.

Syntax

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

Parameters

adjustment
The offset of the background's vertical position.
forBarMetrics
The bar metrics to apply the offset 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