Edytuj

Udostępnij za pośrednictwem


UIButton.BackgroundImageForState(UIControlState) Method

Definition

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

Returns

Attributes

Remarks

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

Applies to