UIBarButtonItem.UIBarButtonItemAppearance.GetBackgroundImage 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.
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
- state
- UIControlState
- 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
- state
- UIControlState
- style
- UIBarButtonItemStyle
- barMetrics
- UIBarMetrics
Returns
- Attributes