편집

다음을 통해 공유


UIBarButtonItem.UIBarButtonItemAppearance.GetBackgroundImage Method

Definition

Overloads

GetBackgroundImage(UIControlState, UIBarMetrics)

The background image for the specified UIControlState and UIBarMetrics.

GetBackgroundImage(UIControlState, UIBarButtonItemStyle, UIBarMetrics)

The background image for the specified UIControlState, UIBarButtonItemStyle, and UIBarMetrics.

GetBackgroundImage(UIControlState, UIBarMetrics)

The background image for the specified UIControlState and UIBarMetrics.

[Foundation.Export("backgroundImageForState:barMetrics:")]
public virtual UIKit.UIImage GetBackgroundImage (UIKit.UIControlState state, UIKit.UIBarMetrics barMetrics);
abstract member GetBackgroundImage : UIKit.UIControlState * UIKit.UIBarMetrics -> UIKit.UIImage
override this.GetBackgroundImage : UIKit.UIControlState * UIKit.UIBarMetrics -> UIKit.UIImage

Parameters

barMetrics
UIBarMetrics

Returns

Attributes

Applies to

GetBackgroundImage(UIControlState, UIBarButtonItemStyle, UIBarMetrics)

The background image for the specified UIControlState, UIBarButtonItemStyle, and UIBarMetrics.

[Foundation.Export("backgroundImageForState:style:barMetrics:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIImage GetBackgroundImage (UIKit.UIControlState state, UIKit.UIBarButtonItemStyle style, UIKit.UIBarMetrics barMetrics);
abstract member GetBackgroundImage : UIKit.UIControlState * UIKit.UIBarButtonItemStyle * UIKit.UIBarMetrics -> UIKit.UIImage
override this.GetBackgroundImage : UIKit.UIControlState * UIKit.UIBarButtonItemStyle * UIKit.UIBarMetrics -> UIKit.UIImage

Parameters

barMetrics
UIBarMetrics

Returns

Attributes

Applies to