Share via


UIBarButtonItem.SetBackgroundVerticalPositionAdjustment Method

Definition

[Foundation.Export("setBackgroundVerticalPositionAdjustment:forBarMetrics:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetBackgroundVerticalPositionAdjustment(System.Runtime.InteropServices.NFloat adjustment, UIKit.UIBarMetrics forBarMetrics);
[<Foundation.Export("setBackgroundVerticalPositionAdjustment:forBarMetrics:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetBackgroundVerticalPositionAdjustment : System.Runtime.InteropServices.NFloat * UIKit.UIBarMetrics -> unit
override this.SetBackgroundVerticalPositionAdjustment : System.Runtime.InteropServices.NFloat * UIKit.UIBarMetrics -> unit

Parameters

adjustment
NFloat
forBarMetrics
UIBarMetrics
Attributes

Remarks

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

Applies to