共用方式為


UIButton.UIButtonAppearance.BackgroundImageForState(UIControlState) 方法

定義

給定 UIControlState 的背景中顯示的 UIImage。

[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

參數

傳回

屬性

適用於