UIBarButtonItem.GetBackgroundVerticalPositionAdjustment(UIBarMetrics) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.