共用方式為


UITextField.Background 屬性

定義

此屬性包含啟用控制項時,會顯示在控制項背景的影像。

public virtual UIKit.UIImage Background { [Foundation.Export("background", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setBackground:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.Background : UIKit.UIImage with get, set

屬性值

屬性

備註

背景影像會繪製在控制項的框線矩形部分。

適用於