Bearbeiten

Freigeben über


UIBarButtonItem.GetBackgroundVerticalPositionAdjustment(UIBarMetrics) Method

Definition

The vertical offset of the background image.

[Foundation.Export("backgroundVerticalPositionAdjustmentForBarMetrics:")]
public virtual nfloat GetBackgroundVerticalPositionAdjustment (UIKit.UIBarMetrics forBarMetrics);
abstract member GetBackgroundVerticalPositionAdjustment : UIKit.UIBarMetrics -> nfloat
override this.GetBackgroundVerticalPositionAdjustment : UIKit.UIBarMetrics -> nfloat

Parameters

forBarMetrics
UIBarMetrics

The bar metrics to return the vertical background image offset for.

Returns

The vertical offset of the background image for the specified bar metrics. Used for vertical centering of image for bordered buttons.

Attributes

Remarks

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

Applies to