UIButton.BackgroundImageForState(UIControlState) 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 background image used for the specified state.
[Foundation.Export("backgroundImageForState:")]
public virtual UIKit.UIImage BackgroundImageForState (UIKit.UIControlState state);
abstract member BackgroundImageForState : UIKit.UIControlState -> UIKit.UIImage
override this.BackgroundImageForState : UIKit.UIControlState -> UIKit.UIImage
Parameters
- state
- UIControlState
Returns
- Attributes
Remarks
This member participates in the UIAppearance styling system. See the Appearance property and the AppearanceWhenContainedIn(Type[]) method.